1
0
Fork 0

- [GUI] prevented error when loading twice a non-text resource (e.g. loading twice the same URL pointing to a bitmao image.).

This commit is contained in:
cage 2023-03-16 15:11:46 +01:00
parent a896c5642e
commit d494571b38
1 changed files with 18 additions and 9 deletions

View File

@ -139,19 +139,28 @@
(t
(let* ((starting-status :streaming)
(gemini-stream (make-instance 'gemini-viewer::gemini-others-data-stream
:host host
:port port
:path path
:query query
:fragment fragment
:meta meta
:status-code status
:status-code-description
code-description
:stream-status starting-status
:download-stream response
:download-socket socket))
(thread-fn (request-stream-other-document-thread gemini-stream
socket
host
port
path
query
fragment
status
code-description
meta)))
socket
host
port
path
query
fragment
status
code-description
meta)))
(gemini-client:debug-gemini "response is *not* a gemini file stream")
(gemini-viewer:push-db-stream gemini-stream)
(gemini-viewer::downloading-start-thread gemini-stream