zchuango commented on PR #3507:
URL: https://github.com/apache/brpc/pull/3507#issuecomment-5475284488

   @wwbmmm @chenBright Could you help confirm the scope of the two Copilot 
comments about UB resources not being released immediately after TCP fallback?
   I checked the existing code and found that this behavior is not specific to 
the new format negotiation. The existing version-mismatch and 
remote-mapping-failure paths also keep the resources until the socket is 
destroyed.
   Simply calling DeallocateResources() on fallback may not be safe, since it 
calls UbrTrxClose() and may wait for a peer even though the UBRing connection 
was never established.
   Do you think this should be addressed in this PR, or would a separate 
cleanup PR covering all handshake fallback paths be more appropriate?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to