lwIP - A Lightweight TCP/IP stack - Bugs: bug #20147, getsockopt() with SO_ERROR option
You are not allowed to post comments on this tracker with your current authentication level.
bug #20147: getsockopt() with SO_ERROR option
Submitter: | Srinivas Gollakota <gollakota> | ||
Submitted: | Mon 11 Jun 2007 02:10:43 PM UTC | ||
Category: | TCP | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | Fixed |
Privacy: | Public | Assigned to: | fbernon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | None |
Jump to the original submission
Tue 12 Jun 2007 06:45:13 AM UTC, comment #9: |
Frédéric Bernon <fbernon> |
Tue 12 Jun 2007 12:11:54 AM UTC, comment #8: Yes we can close this item. I'm getting ECONNABORTED error.
|
Srinivas Gollakota <gollakota> |
Mon 11 Jun 2007 09:20:53 PM UTC, comment #7: No sure to understand: so, now, do you got a ECONNABORTED error, or EIO ? If it's ECONNABORTED, I think it's normal, and we can close this item. Can you confirm?
|
Frédéric Bernon <fbernon> |
Mon 11 Jun 2007 08:46:47 PM UTC, comment #6: Yes, err_tcp() gets invoked upon keep-alive timeout and sets ERR_ABRT for that connection. I do not have the fix for the err_to_errno() macro, with that update i get ECONNABORTED error.
|
Srinivas Gollakota <gollakota> |
Mon 11 Jun 2007 08:18:37 PM UTC, comment #5: I have check in like said in comment #4... |
Frédéric Bernon <fbernon> |
Mon 11 Jun 2007 06:12:08 PM UTC, comment #4: Is there any objects to change getsockopt(SO_ERROR) like this ?
|
Frédéric Bernon <fbernon> |
Mon 11 Jun 2007 05:25:03 PM UTC, comment #3: If I believe the tcp_abort code (call by the keepalive timeout code), you should got a ERR_ABRT error :
|
Frédéric Bernon <fbernon> |
Mon 11 Jun 2007 04:29:06 PM UTC, comment #2: (please, answer by the bug tracker to get a trace)
|
Frédéric Bernon <fbernon> |
Mon 11 Jun 2007 02:40:45 PM UTC, comment #1: I think that conn->err is set to an error value (I suppose that err_tcp in api_msg.c is called, put a trace here to be sure).
|
Frédéric Bernon <fbernon> |
Mon 11 Jun 2007 02:10:43 PM UTC, original submission:
socket error(sock->err) is not being set if connection is closed at the TCP level.
|
Srinivas Gollakota <gollakota> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2007-06-18 | goldsimon | Status | In Progress | Fixed | |
2007-06-12 | fbernon | Open/Closed | Open | Closed | |
2007-06-11 | fbernon | Status | None | In Progress | |
Assigned to | None | fbernon |
Powered by Savane 3.13-caa5.
Corresponding source code
Ok, and thank you to report that...