[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #26069] Documentation of tcp_connect() incorrectly des
From: |
Sergio R. Caprile |
Subject: |
[lwip-devel] [bug #26069] Documentation of tcp_connect() incorrectly describes handling of errors |
Date: |
Mon, 02 Jun 2014 17:25:19 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:29.0) Gecko/20100101 Firefox/29.0 |
Follow-up Comment #17, bug #26069 (project lwip):
Hi Simon, 5 years later I have to say "not so trivial".
I found these in 1.4.1:
- The comment in the source code for tcp_connect() also states that the
connect callback will be called, either for good or for bad.
- The code for the tcp_connect callback in SMTP.c checks err when called,
reinforcing the idea.
- The wiki also states that the connect callback will be called either
connected or not.
After following these, I was surprised when my err callback was always called
on RST or timeout.
I can handle the wiki, the others are out of my reach.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?26069>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #26069] Documentation of tcp_connect() incorrectly describes handling of errors,
Sergio R. Caprile <=