projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
912c42f
)
access_log reset transaction size when using keepalive
author
Andy Green
<andy@warmcat.com>
Tue, 19 Apr 2016 21:58:01 +0000
(
05:58
+0800)
committer
Andy Green
<andy@warmcat.com>
Tue, 19 Apr 2016 21:58:01 +0000
(
05:58
+0800)
Signed-off-by: Andy Green <andy@warmcat.com>
lib/server.c
patch
|
blob
|
history
diff --git
a/lib/server.c
b/lib/server.c
index
f1c29e5
..
c685401
100644
(file)
--- a/
lib/server.c
+++ b/
lib/server.c
@@
-1112,7
+1112,7
@@
lws_http_transaction_completed(struct lws *wsi)
wsi->mode = LWSCM_HTTP_SERVING;
wsi->u.http.content_length = 0;
wsi->hdr_parsing_completed = 0;
-
+ wsi->access_log.sent = 0;
if (wsi->vhost->keepalive_timeout)
n = PENDING_TIMEOUT_HTTP_KEEPALIVE_IDLE;