Skip to content

Commit 6aef2b0

Browse files
authored
Retry read when fastopen_bread() get non fatal error (#6841)
1 parent 5e2d662 commit 6aef2b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iocore/net/BIO_fastopen.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ fastopen_bread(BIO *bio, char *out, int outsz)
159159
if (err < 0) {
160160
errno = -err;
161161
if (BIO_sock_non_fatal_error(errno)) {
162-
BIO_set_retry_write(bio);
162+
BIO_set_retry_read(bio);
163163
}
164164
}
165165

0 commit comments

Comments
 (0)