markt-asf commented on PR #7: URL: https://github.com/apache/tomcat-connectors/pull/7#issuecomment-1476047870
The reason for this code: http://markmail.org/message/lowlwgb7fs4v3yuq It aims to ensure that there isn't an attempt to read when the buffer has insufficient space for a chunk header. It was required for httpd 1.3 and early 2.0.x The behaviour of ap_get_client_block was improved a long time ago (2.0.39): https://github.com/apache/httpd/commit/b7319396a77943c013eecb58e614c1b0f929f49a The padding looks to be unnecessary at this point. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org