mirror of
https://github.com/moparisthebest/spdylay
synced 2024-12-22 07:38:52 -05:00
Return SPDYLAY_ERR_EOF when SSL/TLS or underlying TCP connection is closed.
This commit is contained in:
parent
3e2dc04264
commit
aba18f4ba7
@ -288,7 +288,7 @@ ssize_t recv_callback(spdylay_session *session,
|
||||
r = SPDYLAY_ERR_CALLBACK_FAILURE;
|
||||
}
|
||||
} else if(r == 0) {
|
||||
r = SPDYLAY_ERR_CALLBACK_FAILURE;
|
||||
r = SPDYLAY_ERR_EOF;
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user