- Added new option: {whisker}->{save_raw_chunks}. When set to a value of
1, the raw chunked data, including chunk sizes, will be saved to
{whisker}->{data}. Normally libwhisker interprets the chunk sizes and
stitches just the raw data together on your behalf; use this option if
you just want the raw chunked server response.
- http_do_request() wasn't correctly returning the value returned by
http_do_request_ex(), so {whisker}->{invalid_protocol_return_value}
wasn't actually being honored. All fixed now.
- Added ssl_is_available() function for an official way to check to see
if SSL is installed. No more relying on $LW_SSL_LIB global variable!
- The stream code wasn't updating the connect count ("syns"), which was
causing {whisker}->{stats_syns} to always be zero.
- dump()/_dumpd() was modified to no longer escape NULLs (\x00) as "\0",
since that is a kludge shorthand which can backfire if numbers follow
it.
See the CHANGES2 for all the details:
http://www.wiretrip.net/rfp/libwhisker/CHANGES2
Libwhisker has a few design principles:
- Portable: runs with 0 changes on Unix, Windows, etc (100% Perl)
- Flexible: designed with a 'no rules' approach
- Contained: designed to not require external modules when possible
- Localized: does not require installation to use
This is libwhisker 2.3