receive_encrypted_request(): Properly deal with pending data
authorFabian Keil <fk@fabiankeil.de>
Sat, 18 Jul 2020 11:47:36 +0000 (13:47 +0200)
committerFabian Keil <fk@fabiankeil.de>
Sat, 18 Jul 2020 13:37:24 +0000 (15:37 +0200)
commit76241df7485d4437bb78c1accfae97ee71578473
tree68abc36a41785ba3f7b5016f0c433129a954d5d3
parentd764bcbfcab7fada6e03fbb72889981f7b644419
receive_encrypted_request(): Properly deal with pending data

... that has already been received and is thus invisible to
data_is_available().

Previously encrypted client requests that were too large
to be read with a single ssl_recv_data() call could be
rejected as invalid if all the data arrived quickly enough.

Apparently this happended frequently on gmail due to
large Cookies.

Reported by: Robert Klemme
Sponsored by: Robert Klemme
jcc.c