Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get negative timeout counting down when new connection is accepted #79

Open
swordfeng opened this issue Oct 2, 2015 · 0 comments
Open

Comments

@swordfeng
Copy link

printed by ucat:

debug: Allocatd 4096 buffer
debug: Bound to local 0.0.0.0:23333
debug: UTP context 0xab5c80
debug: Received 20 byte UDP packet from 127.0.0.1:45886
log: recv 127.0.0.1:45886 len:20 id:17767
log: recv id:17767 seq_nr:9158 ack_nr:0
log: Incoming connection from 127.0.0.1:45886
debug: Firewall allowing inbound connection
log: 0xab61d0 127.0.0.1:45886 017768 MTU [RESET] floor:576 ceiling:1402 current:0
log: 0xab61d0 127.0.0.1:45886 017768 UTP socket initialized
log: 0xab61d0 127.0.0.1:45886 017768 Got ST_SYN. seq_nr:9158 ack_nr:0 state:SYN_RECV timestamp:2970548573 reply_micro:0
log: recv send connect ACK
log: 0xab61d0 127.0.0.1:45886 017768 Sending ACK 9158 [17767]
log: 0xab61d0 127.0.0.1:45886 017768 send 127.0.0.1:45886 len:20 id:17767 timestamp:37330287042 reply_micro:0 flags:ST_STATE seq_nr:17767 ack_nr:9158
debug: sendto: 16 byte packet to 127.0.0.1:45886
debug: Accepted inbound socket 0xab61d0
log: 0xab61d0 127.0.0.1:45886 017768 CheckTimeouts timeout:-37330287 max_window:1382 cur_window:0 state:SYN_RECV cur_window_packets:0

Is that an expected behaviour? According to the source it seems that when timeout in CS_SYN_RECV state the connection should be closed.

@swordfeng swordfeng changed the title Got negative timeout counting down when new connection is accepted Get negative timeout counting down when new connection is accepted Oct 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant