TLS requires we explicitly marshal connected sockets when using them on a different thread
Former-commit-id: 341a8caef959883ca6fc71f81f8a3fed747b2341
This commit is contained in:
parent
ed77c35b15
commit
f37ee5bd4d
@ -5272,6 +5272,7 @@ try_again:
|
||||
zfree(ov); zfree(kv);
|
||||
return; /* error sent to the client by migrateGetSocket() */
|
||||
}
|
||||
connMarshalThread(cs->conn);
|
||||
|
||||
rioInitWithBuffer(&cmd,sdsempty());
|
||||
|
||||
|
@ -349,6 +349,7 @@ connection *connCreateTLS(void) {
|
||||
|
||||
void connTLSMarshalThread(connection *c) {
|
||||
tls_connection *conn = (tls_connection*)c;
|
||||
serverAssert(conn->pending_list_node == nullptr);
|
||||
conn->el = serverTL->el;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user