Сообщение от Rise
|
Видимо, поэтому Apache, зная эти траблы браузеров, оставляет сокет открытым.
|
Просто сами траблы не позволяют серверу вести себя по-другому
Note: If the client is sending data, a server implementation using
TCP
should be careful to ensure that the client acknowledges
receipt of the packet(s) containing the response, before the server
closes the input connection. If the client continues sending data
to the server after the close, the server's TCP stack will send a
reset packet to the client, which may erase the client's
unacknowledged input buffers before they can be read and
interpreted by the HTTP application.
https://datatracker.ietf.org/doc/htm...l#section-10.4
Т.е апач честно посылает код 413 и как положено ждет, что браузер скажет, что получил этот код, прежде, чем закрыть соединения. Но браузер говорит, что получил только после того, как все отошлет.
Сообщение от Rise
|
Кстати, на протоколе HTTP/2 всё работает как надо.
|
И правда ведь работает