quiche icon indicating copy to clipboard operation
quiche copied to clipboard

Calling `Connection::close()` should prevent any application data from being written

Open evanrittenhouse opened this issue 1 year ago • 0 comments

close() writes a CONNECTION_CLOSE to the connection, but doesn't immediately set the connection's drain timer. This means that applications can write data to the connection which should effectively never be processed, by virtue of it being preceded by a CONNECTION_CLOSE.

We should just immediately set the draining timer to prevent sending extra data over the wire

evanrittenhouse avatar Apr 02 '24 19:04 evanrittenhouse