Skip to content

Commit

Permalink
5.8.4 fix 5.8.3 bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-X-Net committed Oct 26, 2023
1 parent f608910 commit e422731
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions code/default/lib/noarch/front_base/http1.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def request_task(self, task):
timeout = task.timeout
self.request_onway = True
start_time = time.time()
self.last_recv_time = start_time

self.record_active("request")
task.set_state("h1_req")
Expand Down
2 changes: 1 addition & 1 deletion code/default/lib/noarch/front_base/http_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def _remove_life_end_workers(self):
if not worker.is_life_end():
continue

if worker.version == "1.1":
if worker.version == "1.1" and not worker.request_onway:
to_close.append(worker)
continue

Expand Down
2 changes: 1 addition & 1 deletion code/default/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.8.3
5.8.4
2 changes: 1 addition & 1 deletion code/default/x_tunnel/local/seley_front/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(self, fn):
# http1
self.set_var("http1_first_ping_wait", 0)
self.set_var("http1_ping_interval", 0)
self.set_var("http1_idle_time", 59)
self.set_var("http1_idle_time", 240)
self.set_var("http1_max_process_tasks", 999999)
self.set_var("http2_max_process_tasks", 999999)
self.set_var("http2_status_to_close", [404])
Expand Down

0 comments on commit e422731

Please sign in to comment.