jmimo/netty-icap — pull request #6 by jclyne (2012-06-20 15:50:20+00:00)
Title: Preview enhancements

Hi. I recently made some changes to

1. better support OSGI be removing a dependency on a non-exported package, netty.internal. This dependency was just for the StringUtils end of line character, so I just duplicated the code internally.

2. better support icap preview requests by supporting 0 length previews, checking for early termination in the Icap chunk trailer, and removing the preview header when the request has a null body or is being "replayed" after the continuation chunks of the body have been received.

I have been doing my testing with squid3.1.19, that is where I uncovered the issues

(sorry for the whitespace diffs, that is intellij)

Thanks for all you work!