MurphyMarkW / c-nydus

A proxy server that translates between TCP and UDT.
MIT License
0 stars 0 forks source link

UDT connection occasionally hangs after UDT close call. #11

Open MurphyMarkW opened 9 years ago

MurphyMarkW commented 9 years ago

Seems to occur sporadically when immediately closing the UDT socket after accepting the connection. Could the UDP layer be dropping it?

To reproduce w/ 5ebffaef570896507e145dbd83be49fd7ac03a21:

nc -l 9090 nydus up -v localhost 9000

Run a few times, setting up the nc and up after each run. Will usually work, but occasionally up will hang.

MurphyMarkW commented 9 years ago

Observed that adding a delay before the UDT teardown seems to have eliminated the hang.