Skip to content

Releases: ikruglov/YAHC

Release YAHC v0.034

20 Jun 19:12
Compare
Choose a tag to compare
    - 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

22 Apr 10:40
Compare
Choose a tag to compare
    - 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

27 Feb 14:59
Compare
Choose a tag to compare
- socket cache support multiple file handles per destination
- uniq connections ids

Release YAHC v0.031

17 Jan 11:46
Compare
Choose a tag to compare
- 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

13 Oct 12:38
Compare
Choose a tag to compare
- 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

06 Sep 09:07
Compare
Choose a tag to compare
  - fix problem with empty head param when building http request body
  - improved docs
  - lots of improvments in tests

Release YAHC v0.028

25 Jul 10:00
Compare
Choose a tag to compare
- 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

16 Jul 17:19
Compare
Choose a tag to compare
- 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

14 Jul 13:23
Compare
Choose a tag to compare
    - 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

04 Dec 16:31
Compare
Choose a tag to compare
- add yahc_retry_conn()
- move t/requests.t to live tests