Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: encode/httpcore
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.17.1
Choose a base ref
...
head repository: encode/httpcore
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.17.2
Choose a head ref
  • 7 commits
  • 33 files changed
  • 4 contributors

Commits on May 17, 2023

  1. Configuration menu
    Copy the full SHA
    5f2e454 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2023

  1. Use conditional imports of trio and anyio. (#692)

    * Use conditional imports of trio and anyio
    
    * Update CHANGELOG
    lovelydinosaur authored May 18, 2023
    Configuration menu
    Copy the full SHA
    4d2106b View commit details
    Browse the repository at this point in the history
  2. Fan out loggers (#690)

    * Fan out loggers
    
    * Updated CHANGELOG
    lovelydinosaur authored May 18, 2023
    Configuration menu
    Copy the full SHA
    1fc3489 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. Enable TCP_NODELAY for all synchronous sockets. (#651)

    * Enable TCP_NODELAY for all synchronous sockets.
    
    The widely documented poor interaction between the Nagle algorithm and
    TCP's delayed ACK feature, when making short successive writes, leads to
    unnecessary delays (around 50ms on Linux). This happens in httpcore
    whenever a POST request is made, since the headers and body are sent as
    two separate calls.
    
    The TCP_NODELAY option can be enabled to disable Nagle's algorithm, and
    therefore avoid this delay.
    
    The option is already enabled by default for all asyncio and Trio
    sockets. It is also enabled by CPython's http.client module (which
    urllib and requests use) and by many high-level HTTP libraries found in
    other languages, including libcurl, Java's Netty, Rust's reqwest and
    Go's standard library, to name a few.
    
    * Update CHANGELOG.md
    
    ---------
    
    Co-authored-by: Tom Christie <tom@tomchristie.com>
    plietar and lovelydinosaur authored May 22, 2023
    Configuration menu
    Copy the full SHA
    834000d View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. Add sni hostname extension (#696)

    * Add `sni_hostname` extension
    
    * Fix linting
    
    * Add 'sni_hostname' to `CHANGELOG.md` and `extensions.md`
    
    * Typo
    
    * Update CHANGELOG.md
    
    * Update docs/extensions.md
    
    * Fix changelog
    
    ---------
    
    Co-authored-by: Tom Christie <tom@tomchristie.com>
    karpetrosyan and lovelydinosaur authored May 23, 2023
    Configuration menu
    Copy the full SHA
    27a10dd View commit details
    Browse the repository at this point in the history
  2. Add support for socket options (#668)

    * Add support for socket options
    
    * Use the built-in socket.create_connection method rather than the duplicated one
    
    * Add socket options support for async backend
    
    * Add socket options support for connect_unix_socket function
    
    * Add socket options for ConnectionPool and HTTProxy classes
    
    * Add `socket_options` to `CHANGELOG.md` and `connection-pools.md`
    
    * Make `socket_options` optional for `HTTPConnection` and `ConnectionPool`
    
    * Add `socket_options` to `ConnectionPool` and \'AsyncConnectionPool\' docstring
    
    * Typo
    
    * Fix linting
    
    * Fix options order
    
    * Typo
    
    * Update httpcore/backends/trio.py
    
    Co-authored-by: Tom Christie <tom@tomchristie.com>
    
    * Update httpcore/backends/sync.py
    
    Co-authored-by: Tom Christie <tom@tomchristie.com>
    
    * Update httpcore/backends/asyncio.py
    
    Co-authored-by: Tom Christie <tom@tomchristie.com>
    
    ---------
    
    Co-authored-by: Tom Christie <tom@tomchristie.com>
    karpetrosyan and lovelydinosaur authored May 23, 2023
    Configuration menu
    Copy the full SHA
    93d7804 View commit details
    Browse the repository at this point in the history
  3. Version 0.17.2 (#697)

    * Version 0.17.2
    
    * Sorting changes by importance
    
    * Sort by importance, fix typo
    
    ---------
    
    Co-authored-by: Tom Christie <tom@tomchristie.com>
    karpetrosyan and lovelydinosaur authored May 23, 2023
    Configuration menu
    Copy the full SHA
    be4035d View commit details
    Browse the repository at this point in the history
Loading