EppLib.NET icon indicating copy to clipboard operation
EppLib.NET copied to clipboard

Possible endless loop w/ busy wait

Open hoerup opened this issue 3 years ago • 2 comments

https://github.com/CodeMakerInc/EppLib.NET/blob/master/EppLib/TcpTransport.cs#L104

If the epp server never sends a response it's most likely that we will never exit the 2 read loops

hoerup avatar Apr 07 '22 06:04 hoerup

You can pass timeout values in the constructor of TcpTransport.

ademar avatar Apr 08 '22 15:04 ademar

the readtimeout will not come into effect if the socket is closed and the read returns 0 bytes - then it will go into a busy loop that never exit's

hoerup avatar Apr 19 '22 07:04 hoerup