kayws426 / embox

Automatically exported from code.google.com/p/embox
0 stars 1 forks source link

tcp_get_usec() invalid #578

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. rlogin with host, which turns socket in nonblock mode
2. tcp_sock.c:345 performs -ETIMEOUT, which is invalid (time now is early, than 
was)

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.

Original issue reported on code.google.com by drakon.m...@gmail.com on 28 Mar 2013 at 4:34

GoogleCodeExporter commented 9 years ago
fixed by r9314, right?

Original comment by ki.stfu on 28 Mar 2013 at 5:19

GoogleCodeExporter commented 9 years ago
nothing more than hotfix. tcp_get_usec should be revisited to not encounter 
overflow propblem. May be it'll be better to get rid of it completely, as it 
used to wait on read, etc. where events will be more practical.

Original comment by drakon.m...@gmail.com on 28 Mar 2013 at 5:43

GoogleCodeExporter commented 9 years ago
fixed by r9425

Original comment by ki.stfu on 3 Apr 2013 at 2:19