Logo
Explore Help
Sign In
asmhatre/spring-ai
Watch 1
Star 0
Fork 0
Code Activity
Files
main
spring-ai/chat-ui-htmx/output/05-okhttp-close-vs-cancel.txt
T
asmhatreandClaude Sonnet 5.5 68da642f9a Add chat-ui-htmx module: streaming chat page on Spring AI 2.0.2 with htmx and its SSE extension (vendored), MessageChatMemoryAdvisor keyed by the HTTP session, a Stop button, and the traps measured: EventSource strips one leading space per data line, model text must be HTML-escaped, a cancelled stream left the upstream connection open in 7 of 8 runs until an OkHttp interceptor calls Call.cancel (8 of 8 closed after), and the SDK push source ignores back-pressure (limitRate changes only the demand; a bounded buffer works). The model is a stub OpenAI-compatible SSE server written for the module; no real provider was run.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b6Kg9RWSTJzyz6KP9X
2026-10-31 04:02:56 +00:00

5 lines
347 B
Plaintext
Raw Permalink Blame History

plain OkHttp 4.12.0, 10 runs each, stub streaming 60 chunks at 20 ms, reader thread blocked in a read
response.close() threw: java.lang.IllegalStateException: Unbalanced enter/exit
response.close() from another thread: upstream connection closed in 0 of 10 runs
call.cancel() from another thread: upstream connection closed in 10 of 10 runs
View Git Blame Copy Permalink
Powered by Gitea Version: 1.27.3 Page: 25ms Template: 3ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API