summaryrefslogtreecommitdiff
path: root/src/network.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2016-06-19 19:32:46 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2016-06-19 23:34:16 -0400
commitbfac0285a7c9ceb658a25b7a9b86d832d146c746 (patch)
tree3300482d3e1c3f903f572e35cac75c6bbcbed311 /src/network.c
parent4ef4baa59d5459ee5568dc3ca5db4b2df40f426a (diff)
downloadlighttpd1.4-bfac0285a7c9ceb658a25b7a9b86d832d146c746.tar.gz
lighttpd1.4-bfac0285a7c9ceb658a25b7a9b86d832d146c746.zip
remove excess calls to joblist_append()
(recent commits streamlined dynamic handler flow control)
Diffstat (limited to 'src/network.c')
-rw-r--r--src/network.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/network.c b/src/network.c
index 18b8b47e..489c4cae 100644
--- a/src/network.c
+++ b/src/network.c
@@ -1070,9 +1070,7 @@ int network_write_chunkqueue(server *srv, connection *con, chunkqueue *cq, off_t
off_t limit = con->conf.global_kbytes_per_second * 1024 - *(con->conf.global_bytes_per_second_cnt_ptr);
if (limit <= 0) {
/* we reached the global traffic limit */
-
con->traffic_limit_reached = 1;
- joblist_append(srv, con);
return 1;
} else {
@@ -1084,9 +1082,7 @@ int network_write_chunkqueue(server *srv, connection *con, chunkqueue *cq, off_t
off_t limit = con->conf.kbytes_per_second * 1024 - con->bytes_written_cur_second;
if (limit <= 0) {
/* we reached the traffic limit */
-
con->traffic_limit_reached = 1;
- joblist_append(srv, con);
return 1;
} else {