mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-08-29 01:46:39 +00:00
This fixes a bug where POST requests would get recorded with a doubled header and a bunch of nulls at the end. It seems that the onRequestContent() listener doesn't pass us the right buffer when proxying. The buffer seems to contain client-to-server data and the buffer's limit isn't set. So instead this records the request content by overriding newProxyToServerRequestContent.