Skip to content

when set c->is_closing = 1 in HTTP server, why WEB page is not crash #1910

Discussion options

You must be logged in to vote

What web page ? What crash ? What does it do ? What does it expect ? Did you sniff your network ? Did you see HTTP/TCP traffic ?
If Mongoose is your server and you set the is_closing flag, the connection will be closed https://mongoose.ws/documentation/#connection-flags . If you need to send remaining data, set is_draining instead.
Check our tutorials here: https://mongoose.ws/tutorials/

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@yanruyue
Comment options

@scaprile
Comment options

scaprile Dec 8, 2022
Collaborator

@yanruyue
Comment options

Answer selected by scaprile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants