-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Curl engine doesn't respond for SSE events #1213
Comments
Streaming is not yet support by ios client engine |
Why iOS? I’m working at the desktop solution. Target is mingwx64 or linuxx64. Curl distrib works fine with SSE but Ktor curl client - not |
Hi @IgorKey, thanks for the report. We'll investigate the reason. |
Sorry, I wanted to say native. We simply read the whole result at once in all native backends for now. |
Oh, so sad... Do you know any workaround for this case? |
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
Ktor Version
1.2.2
Ktor Engine Used(client or server and name)
Ktor curl client - io.ktor:ktor-client-curl-mingwx64:1.2.2
JVM Version, Operating System and Relevant Context
Kotlin Native 1.3.40
Feedback
Can't get even status code from sse requests. For instance, the same code works fine in kotlin JVM with CIO http engine Curl native engine block streaming compatibilities
Source code here
On the server side, I have this one https://ktor.io/samples/other/sse.html
when i close the connection from server. All messages written by the server come
The text was updated successfully, but these errors were encountered: