Call proxy_finish_connect_to_upstream when reconnecting, setting
TCP_NODELAY
This commit is contained in:
@@ -534,11 +534,8 @@ int proxy_read_init_from_upstream( struct proxier* proxy, int state )
|
|||||||
goto disconnect;
|
goto disconnect;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* record the flags, and log the reconnection */
|
/* record the flags, and log the reconnection, set TCP_NODELAY */
|
||||||
// TODO: Should we call this at all here? We lose the
|
proxy_finish_connect_to_upstream( proxy, upstream_size, upstream_flags );
|
||||||
// upstream_size and flags otherwise, but then we can't
|
|
||||||
// renegotiate anyway.
|
|
||||||
// proxy_finish_connect_to_upstream( proxy, upstream_size, upstream_flags );
|
|
||||||
|
|
||||||
/* Currently, we only get disconnected from upstream (so needing to come
|
/* Currently, we only get disconnected from upstream (so needing to come
|
||||||
* here) when we have an outstanding request. If that becomes false,
|
* here) when we have an outstanding request. If that becomes false,
|
||||||
|
Reference in New Issue
Block a user