mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-11 22:15:14 +00:00
d1ac2b90cd
The EOM block may be removed. The HTX_FL_EOM flags is enough. Most of time, to know if the end of the message is reached, we just need to have an empty HTX message with HTX_FL_EOM flag set. It may also be detected when the last block of a message with HTX_FL_EOM flag is manipulated. Removing EOM blocks simplifies the HTX message filling. Indeed, there is no more edge problems when the message ends but there is no more space to write the EOM block. However, some part are more tricky. Especially the compression filter or the FCGI mux. The compression filter must finish the compression on the last DATA block. Before it was performed on the EOM block, an extra DATA block with the checksum was added. Now, we must detect the last DATA block to be sure to finish the compression. The FCGI mux on its part must be sure to reserve the space for the empty STDIN record on the last DATA block while this record was inserted on the EOM block. The H2 multiplexer is probably the part that benefits the most from this change. Indeed, it is now fairly easier to known when to set the ES flag. The HTX documentaion has been updated accordingly. |
||
---|---|---|
.. | ||
acl.txt | ||
body-parsing.txt | ||
buffer-api.txt | ||
connect-status.txt | ||
connection-header.txt | ||
connection-scale.txt | ||
entities-v2.txt | ||
entities.fig | ||
entities.pdf | ||
entities.svg | ||
entities.txt | ||
filters.txt | ||
hashing.txt | ||
header-parser-speed.txt | ||
header-tree.txt | ||
http-cookies.txt | ||
http-docs.txt | ||
http-parsing.txt | ||
htx-api.txt | ||
initcalls.txt | ||
list.fig | ||
listener-states.fig | ||
listener-states.png | ||
lua_socket.fig | ||
lua_socket.pdf | ||
naming.txt | ||
notes-layers.txt | ||
pattern.dia | ||
pattern.pdf | ||
polling-states.fig | ||
repartition-be-fe-fi.txt | ||
sequence.fig | ||
ssl_cert.dia | ||
stats-v2.txt | ||
stream-sock-states.fig |