mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
Propagate nc->err to err on CC3200
PUBLISHED_FROM=db7254b5bf25961a700cbce954ef02d41b176500
This commit is contained in:
parent
04a38b446f
commit
06b6bf6185
@ -3528,10 +3528,11 @@ void mg_mgr_handle_conn(struct mg_connection *nc, int fd_flags, double now) {
|
||||
if (ret != 0) err = 1;
|
||||
}
|
||||
#else
|
||||
/* On SimpleLink and ESP8266 we use blocking connect. If we got as far as
|
||||
* this, it means connect() was successful.
|
||||
/*
|
||||
* On SimpleLink and ESP8266 we use blocking connect.
|
||||
* TODO(rojer): Figure out why it fails where blocking succeeds.
|
||||
*/
|
||||
err = nc->err;
|
||||
#endif
|
||||
#ifdef MG_ENABLE_SSL
|
||||
if (nc->ssl != NULL && err == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user