-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server_forward_retries directive is ignored if request is forwarded to inactive server connection #1003
Comments
aleksostapenko
added a commit
that referenced
this issue
Dec 14, 2018
aleksostapenko
added a commit
that referenced
this issue
Dec 14, 2018
aleksostapenko
added a commit
that referenced
this issue
Dec 20, 2018
aleksostapenko
added a commit
that referenced
this issue
Dec 20, 2018
aleksostapenko
added a commit
that referenced
this issue
Jan 16, 2019
aleksostapenko
added a commit
that referenced
this issue
Jan 17, 2019
krizhanovsky
pushed a commit
that referenced
this issue
Jan 26, 2019
krizhanovsky
pushed a commit
that referenced
this issue
Jan 26, 2019
krizhanovsky
pushed a commit
that referenced
this issue
Jan 26, 2019
krizhanovsky
pushed a commit
that referenced
this issue
Jan 26, 2019
krizhanovsky
pushed a commit
that referenced
this issue
Jan 26, 2019
krizhanovsky
pushed a commit
that referenced
this issue
Jan 26, 2019
krizhanovsky
pushed a commit
that referenced
this issue
Jan 26, 2019
aleksostapenko
added a commit
that referenced
this issue
Feb 19, 2019
aleksostapenko
added a commit
that referenced
this issue
Feb 19, 2019
Fix #1003: Store requests for resending if connection became inactive.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When a request is sent to backend in
tfw_http_req_fwd_send()
, an error may happen inss_send()
, e.g. socket is inactive. In this case the request is dropped and500
error is returned to client:tempesta/tempesta_fw/http.c
Lines 1103 to 1104 in 036a0f1
You can see warnings in the system log:
The
tfw_http_req_fwd_send()
function doesn't honourserver_forward_retries
directive and drops the request on very firstss_send()
failure. Instead Tempesta must increment message retry count on failure and drop request only intfw_http_req_evict_retries()
function.tempesta/tempesta_fw/http.h
Line 499 in 036a0f1
The text was updated successfully, but these errors were encountered: