mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-29 12:41:03 +00:00
Handle #1497 - handshake format
This commit is contained in:
1 parent
0fbc4b8ff4
commit
ad4812218d
5 files changed
+15
-11
No files matched your search
+1
-1
@@ -106,7 +106,7 @@ static void iolog(struct mg_connection *c, char *buf, long n, bool r) {
|
||||
(char) ('0' + c->is_writable),
|
||||
'\0'};
|
||||
MG_LOG(log_level,
|
||||
("%3lu %s %d:%d %ld err %d (%s)", c->id, flags, (int) c->send.len,
|
||||
("%lu %s %d:%d %ld err %d (%s)", c->id, flags, (int) c->send.len,
|
||||
(int) c->recv.len, n, MG_SOCK_ERRNO, strerror(errno)));
|
||||
if (n == 0) {
|
||||
// Do nothing
|
||||
|
||||
Reference in new issue
Block a user