Loading
Commits on Source 55
-
Tiago authored
refactoring towards not centralizing this inforation
-
Tiago authored
-
Tiago authored
this leaves synchronization out ftm
-
Tiago authored
pools are then used only to fetch new conenctions; selectors are discarded when not needed anymore; HTTPX.wrap is for now patched, but would ideally be done with in the future
-
Tiago authored
-
Tiago authored
-
Tiago authored
allowing it to be plugin extended via pool_class and PoolMethods
-
Tiago authored
-
Tiago authored
also fixed the coalescing case where the connection may come from the pool, and should therefore be remmoved from there and selected/checked back in accordingly as a result
-
Tiago authored
-
Tiago authored
defaulting to unbounded, in order to preserve current behaviour; this will cap the number of connections initiated for a given origin for a pool, which if not shared, will be per-origin; this will include connections from separate option profiles a pool timeout is defined to checkout a connection when limit is reeached
-
Tiago authored
this eliminates the overuse of Connection#origin, which in the case of proxied connections was broken in the previous commit the proxy implementation got simpler, despite this large changeset
-
Tiago authored
because you're reconnecting to the same host, now the previous connection is closed, in order to avoid a deadlock on the pool where the per-host conns are exhausted, and the new connection can't be initiated because the older one hasn't been checked back in
-
Tiago authored
-
Tiago authored
-
Tiago authored
-
Tiago authored
instead of fiber-local storage; this allows that under fiber-scheduler based engines, like async, requests on the same session with an open selector will reuse the later, thereby ensuring connection reuse within the same thread in normal conditions, that'll happen only if the user uses a session object and uses HTTPX::Session#wrap to keep the context open; it'll also work OTTB when using sessions with the plugin. Otherwise, a new connection will be opened per fiber
-
Tiago authored
-
Tiago authored
-
Tiago authored
-
Tiago authored
-
Tiago authored
-
Tiago authored
-
Tiago authored
but only when the selector is empty, as there'll be nothing to select on, and this would fall into an infinite loop
-
Tiago authored
-
Tiago authored
-
Tiago authored
-
Tiago authored
before, compressed bodies were yielding chunks and buffering locally (the variant in this snippet); they were also failing to rewind, due to lack of method (fixed in the last commit); in this change, support is added for bodies which can read and rewind (but do not map to a local path via ), such as compressed bodies, which at this point haven't been yet buffered; the procedure is then to buffer the compressed body into a tempfile, calculate the hexdigest then rewind the body and move on
-
Tiago authored
also, error when trying to calculate hexdigest on endless bodies
-
HoneyryderChuck authored
aws sigv4support calculation of hexdigest on top of compressed bodies in correct way See merge request !355
-
Denis Sadomowski authored
-
Denis Sadomowski authored
-
Denis Sadomowski authored
-
Denis Sadomowski authored
-
HoneyryderChuck authored
Fix incorrect hash key rendering with Oj JSON encoder Closes #324 See merge request !356
-
Closes #323
-
HoneyryderChuck authored
Add support for `content-digest` headers (RFC9530) See merge request !354
-
Tiago authored
content-digest: set validate_content_digest default to false; do not try to compute content-digest for requests with no body
-
HoneyryderChuck authored
:pool option + thread-safe session-owned conn pool See merge request !348
-
HoneyryderChuck authored
Accept more MIME types with json suffix Closes #326 See merge request !357
-
Tiago authored
-
Tiago authored
this is a regression from a ractor compatibility commit, which ensured that errors raised while preparing the request / resolving name are caught and raised, but introduced a regression when name resolution retrieves a cached IP; this error only manifested in dual-stack situations, which can't be tested in CI yet Closes #329
-
Tiago authored
-
Tiago authored
includes nokogiri type sigs
-
Tiago authored
-
HoneyryderChuck authored
XML plugin Closes #325 See merge request !358
-
Tiago authored
-
Tiago authored
-
Tiago authored
-
Tiago authored
-
Tiago authored
-
Tiago authored
-
Tiago authored
-
Tiago authored