Commit 48e5793
Vasyl Vavrychuk
Fixed mongoose lying to client about keep alive
If ENABLE_KEEP_ALIVE option set to no and client requests 'Connection: keep-alive'
then mongoose respond with 'Connection: keep-alive' but after that actually closes
the connection. It is happening because of difference beatween suggest_connection_header
and process_new_connection functions.1 parent 3f87ac1 commit 48e5793
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
791 | 791 | | |
792 | 792 | | |
793 | 793 | | |
794 | | - | |
| 794 | + | |
| 795 | + | |
795 | 796 | | |
796 | 797 | | |
797 | 798 | | |
| |||
0 commit comments