Skip to content

Not disconnect when server finish connect. #18

Description

@adneg

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
    `

`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions