This repository was archived by the owner on Jan 20, 2025. It is now read-only.
Releases: ikruglov/YAHC
Releases · ikruglov/YAHC
Release YAHC v0.034
- support of reposponses without Content-Length by joaquim.rovira@booking.com
- check that Content-Length is numeric value by joaquim.rovira@booking.com
- support of HEAD, 1xx, 204 and 304 responses by jeroen.vanwolffelaar@booking.com
Release YAHC v0.033
- yahc_conn_socket_cache_id(): return undef if conn is undef
- when considering droping a socket take into account response protocol
- socket_cache as callback
- fix bug in yahc_terminal_error()
- don't set backoff time when backoff callback returned 0
- support of HEAD method
- can pass headers in ->new()
- do not overwrite Host header when set by user
- implement yahc_conn_user_data()
- improved tests
Release YAHC v0.032
- socket cache support multiple file handles per destination
- uniq connections ids
Release YAHC v0.031
- clarification of docs
- yahc_retry_conn() can accept backoff_delay arg
- fix double setting args in ->new() and ->request()
- optimize internal timer creation
Release YAHC v0.030
- report sent body (cut to 1024 bytes) in timeline
- more fare scheduling of retries
- enrich error messages with numeric representation of $! or IO::Socket::SSL::SSL_ERROR
- stop leaking connections once completed
- drop() can force socket to be closed
- new tests
Release YAHC v0.029
- fix problem with empty head param when building http request body
- improved docs
- lots of improvments in tests
Release YAHC v0.028
- new yahc_conn_register_error()
- new yahc_conn_attempt()
- *change in behaivor* - timeout errors are marked with new
YAHC::Error::TIMEOUT() bit. So, direct comparation like $err ==
YAHC::Error::CONNECT_TIMEOUT() won't work anymore and should be done as
bitmask check $err & YAHC::Error::CONNECT_TIMEOUT.
- bugfix in backoff_delay logic
- bugfix in user_callback calls, update EV internal time to avoid deviation.
- added t/account_for_signal.t into MANIFEST
- beter docs
- more tests
Release YAHC v0.027
- new backoff_delay feature
- new lifetime_timeout feature
- *change in behaivor* - in case of internal error, exception in
callback or expiration of lifetime_timeout callback is called with
TERMINAL_ERROR bit set in $error. In this case all further attempt to
retry or reinit connection are ignored and the connection goes to
COMPLETED state unconditionally. Previous behaivor was that a connection
silently terminates.
- *change in behaivor* - give all timeouts the highest priorities in event
loop. This provides stonger timeout guarantee but can cause timeouts in
border cases which didn't happen before.
- *change in behaivor* - when connection failed all retry attempts report
error condition with new error YAHC::Error::RETRY_LIMIT instead of
YAHC::Error::CONNECT_ERROR
- rename YAHC::State::WAIT_SYNACK to YAHC::State::CONNECTING
- improved tests
- improved docs
Release YAHC v0.026
- improved docs
- account_for_signals
- experimental support of socket_cache
- expose break() method
- warn if UTF8 flagged payload detected
- tests improvments
Release YAHC v0.025
- add yahc_retry_conn()
- move t/requests.t to live tests