You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ma...@apache.org on 2020/06/24 23:58:26 UTC
[trafficserver] branch master updated: Retry read when
fastopen_bread() get non fatal error (#6841)
This is an automated email from the ASF dual-hosted git repository.
masaori pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 6aef2b0 Retry read when fastopen_bread() get non fatal error (#6841)
6aef2b0 is described below
commit 6aef2b02cf36ce5704eea3502af3b891c6cadf3d
Author: Masaori Koshiba <ma...@apache.org>
AuthorDate: Thu Jun 25 08:57:14 2020 +0900
Retry read when fastopen_bread() get non fatal error (#6841)
---
iocore/net/BIO_fastopen.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iocore/net/BIO_fastopen.cc b/iocore/net/BIO_fastopen.cc
index bacc214..99f6706 100644
--- a/iocore/net/BIO_fastopen.cc
+++ b/iocore/net/BIO_fastopen.cc
@@ -159,7 +159,7 @@ fastopen_bread(BIO *bio, char *out, int outsz)
if (err < 0) {
errno = -err;
if (BIO_sock_non_fatal_error(errno)) {
- BIO_set_retry_write(bio);
+ BIO_set_retry_read(bio);
}
}