lede/package
CN_SZTL f8bd6e09a0
openssl: revert EOF detection change in 1.1.1 (#4127)
This adds patches to avoid possible application breakage caused by a
change in behavior introduced in 1.1.1e.  It affects at least nginx,
which logs error messages such as:
nginx[16652]: [crit] 16675#0: *358 SSL_read() failed (SSL: error:
4095126:SSL routines:ssl3_read_n:unexpected eof while reading) while
keepalive, client: xxxx, server: [::]:443

Openssl commits db943f4 (Detect EOF while reading in libssl), and
22623e0 (Teach more BIOs how to handle BIO_CTRL_EOF) changed the
behavior when encountering an EOF in SSL_read().  Previous behavior was
to return SSL_ERROR_SYSCALL, but errno would still be 0.  The commits
being reverted changed it to SSL_ERRO_SSL, and add an error to the
stack, which is correct.  Unfortunately this affects a number of
applications that counted on the old behavior, including nginx.

The reversion was discussed in openssl/openssl#11378, and implemented as
PR openssl/openssl#11400.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-03-31 23:14:35 +08:00
..
base-files dropbear: bump to 2019.78 2020-03-22 18:35:41 +08:00
boot ramips: add xiaomi_miwifi-r3 support (#3839) 2020-03-17 01:39:45 +08:00
devel strace: update to version 5.5 (#3585) 2020-03-05 22:07:41 +08:00
firmware ipq40xx: add support for MobiPromo CM520-79F (#28) (#3378) 2020-02-28 23:20:23 +08:00
kernel mac80211: brcm: backport remaining 5.6 kernel patches (#4070) 2020-03-30 12:18:10 +08:00
lean luci-app-cpufreq:Add translation (#4130) 2020-03-31 23:07:57 +08:00
libs openssl: revert EOF detection change in 1.1.1 (#4127) 2020-03-31 23:14:35 +08:00
network libmnl: update ABI version 2020-03-24 18:24:26 +08:00
system procd: update to latest git HEAD 2020-03-25 22:23:34 +08:00
utils lua: fix build with MacOS's make 2020-03-25 13:42:28 +08:00
Makefile sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00