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: JuliaWeb/HTTP.jl
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.5.5
Choose a base ref
...
head repository: JuliaWeb/HTTP.jl
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.6.3
Choose a head ref
  • 14 commits
  • 22 files changed
  • 5 contributors

Commits on Nov 18, 2022

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

Commits on Nov 24, 2022

  1. Configuration menu
    Copy the full SHA
    9a95100 View commit details
    Browse the repository at this point in the history
  2. Allow silencing server closing log message as well (#965)

    #955 allowed passing `verbose=-1` to silence the initial server listening log, it seems appropriate that this setting should also silence the server closing log
    JackDunnNZ authored Nov 24, 2022
    Configuration menu
    Copy the full SHA
    0df6f57 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2022

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

Commits on Nov 30, 2022

  1. Fix access_threaded in the forthcoming interactive threadpool world (#…

    …972)
    
    Fixes #970.
    
    The issue here is that our `access_threaded` function, and thread-specific
    arrays, all relied on `Threads.nthreads()`, which by default only returns
    the number of threads in the `:default` threadpool. In the new world where
    the `:interactive` threadpool exists, there can also be threads there.
    
    There is a new function `Threads.maxthreadid()` which helpfully tells us
    the max id of any thread, regardless of threadpool. So the proposed fix
    here is that if that function is defined, use that, otherwise fallback
    to `Threads.nthreads()`.
    quinnj authored Nov 30, 2022
    Configuration menu
    Copy the full SHA
    16383f2 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2022

  1. Allow customizing retry logic for http requests (#974)

    * Allow more custom retry logic
    
    Allow user to pass `retry_delays` with a custom `ExponentialBackoff` object.
    Allow user to pass `retry_check` that is a function of the form:
    `check(s, ex, req, resp) -> Bool` which will be called if the default
    retry logic doesn't allow retrying.
    
    * Update docs
    quinnj authored Dec 11, 2022
    Configuration menu
    Copy the full SHA
    02ba345 View commit details
    Browse the repository at this point in the history
  2. Update Project.toml

    quinnj authored Dec 11, 2022
    2 Configuration menu
    Copy the full SHA
    487de2c View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2022

  1. Fix setting of response body for StatusError exception (#975)

    * Fix setting of response body for StatusError exception
    
    As reported in JuliaCloud/AWS.jl#593,
    the recently refactored retry logic was failing to properly write
    the response body when a `response_stream` was used and a `StatusError`
    was thrown.
    
    * Fix error still being thrown
    
    * Add test and forcenew option to avoid socket closing race condition
    quinnj authored Dec 14, 2022
    Configuration menu
    Copy the full SHA
    293ae29 View commit details
    Browse the repository at this point in the history
  2. Update Project.toml

    quinnj authored Dec 14, 2022
    2 Configuration menu
    Copy the full SHA
    125187c View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2022

  1. New retry_check should take response body as arg (#976)

    * New retry_check should take response body as arg
    
    I realized we can't mess with the Response body field directly
    when using the new `retry_check` functionality because we might
    clobber a user-provided `response_stream`, which we set as the
    Response body field. Instead, it should just be an additional
    arg to the `retry_check` function.
    
    * Fix test
    
    * update docs; pass resp as nothing if none
    quinnj authored Dec 15, 2022
    Configuration menu
    Copy the full SHA
    ab25f08 View commit details
    Browse the repository at this point in the history
  2. Update Project.toml

    quinnj authored Dec 15, 2022
    2 Configuration menu
    Copy the full SHA
    7a54ffc View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2022

  1. Reduce slightly allocations when reading/writing HTTP messages (#950)

    * Avoid creating additional string when writing headers
    
    * Define our own simpler Version type
    
    * Update src/Messages.jl
    
    Co-authored-by: Jacob Quinn <quinn.jacobd@gmail.com>
    
    * Update src/Messages.jl
    
    Co-authored-by: Jacob Quinn <quinn.jacobd@gmail.com>
    
    * Test we don't allocate
    
    * Tidy tests
    
    * Remove unused code
    
    * Update src/clientlayers/MessageRequest.jl
    
    * Write headers to temporary buffer first
    
    - ...before flushing to socket, to avoid task switching
      mid writing to the socket itself.
    
    * Remove unneeded temp buffer in Stream startwrite
    
    * Make loopback test less flaky by using Event instead of sleep
    
    * Don't connect a socket for Loopback test
    
    - unnecessary and was leading to occasional DNS Errors
    
    Co-authored-by: Jacob Quinn <quinn.jacobd@gmail.com>
    nickrobinson251 and quinnj authored Dec 21, 2022
    Configuration menu
    Copy the full SHA
    a2da061 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2023

  1. Configuration menu
    Copy the full SHA
    07baa35 View commit details
    Browse the repository at this point in the history
  2. Update Project.toml

    quinnj authored Jan 3, 2023
    2 Configuration menu
    Copy the full SHA
    5057ad1 View commit details
    Browse the repository at this point in the history
Loading