rsocket-net icon indicating copy to clipboard operation
rsocket-net copied to clipboard

Fixed problem with automatic responses to KEEPALIVE frames from server.

Open spcmicro opened this issue 3 years ago • 1 comments

Fixed a problem with automatic responses to KEEPALIVE frames from server.

Reponses to the KEEPALIVE frames being sent from the server to the client were not being responded to. This caused a timeout of the connection on the server side after 30 seconds.

I modified the Validate method to return true when Header.Stream == 0. I think this is all that needs to be validated on a KEEPALIVE frame. The code was already present that sends the KEEPALIVE response to the server when Validate returns true.

NOTE: KEEPALIVE frames initiated by the client work fine. These changes only affect the client response to the server KEEPALIVE requests.

spcmicro avatar Apr 06 '22 13:04 spcmicro

@OlegDokuka any chance you can look at this? Thanks!

maximdim avatar Apr 07 '22 18:04 maximdim

This was fixed by Eugene C. Closing PR.

spcmicro avatar Oct 19 '22 13:10 spcmicro