Skip to content
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

Not disconnect when server finish connect. #18

Open
adneg opened this issue Nov 13, 2019 · 0 comments
Open

Not disconnect when server finish connect. #18

adneg opened this issue Nov 13, 2019 · 0 comments

Comments

@adneg
Copy link

adneg commented Nov 13, 2019

this is the 4 library that is testing.
and is probably the best.
but one thing is not working properly:(
I'm finishing the
long polling/streem.
my http handler for connect going down,
-because I need it and want it.

this code not close connect in this situation.

not automatically. like ,golang client or: curl.:(

curl -v http://192.168.88.5:8080/getmsg/1

  • Trying 192.168.88.5...
  • TCP_NODELAY set
  • Connected to 192.168.88.5 (192.168.88.5) port 8080 (#0)

GET /getmsg/1 HTTP/1.1
Host: 192.168.88.5:8080
User-Agent: curl/7.58.0
Accept: /

< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Cache-Control: no-cache
< Connection: keep-alive
< Content-Type: text/event-stream
< Date: Wed, 13 Nov 2019 19:26:05 GMT
< Transfer-Encoding: chunked
<

  • Connection #0 to host 192.168.88.5 left intact
    `

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant