We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49b466a commit fbfcde7Copy full SHA for fbfcde7
src/tls/flb_tls.c
@@ -579,7 +579,7 @@ int flb_tls_session_create(struct flb_tls *tls,
579
* In the other case for an async socket 'th' is NOT NULL so the code
580
* is under a coroutine context and it can yield.
581
*/
582
- if (co == NULL) {
+ if (co == NULL || !flb_upstream_is_async(connection->upstream)) {
583
flb_trace("[io_tls] server handshake connection #%i in process to %s",
584
connection->fd,
585
flb_connection_get_remote_address(connection));
0 commit comments