Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to reduce risk of EOF error with POST requests #211

Merged
merged 1 commit into from
Mar 2, 2018

Commits on Mar 2, 2018

  1. Try to reduce risk of EOF error with POST requests

    - Add a txcount field to the Request struct
    - Increment txcount after the body is written
    - Modify RetryRequest.isrecoverable to allow retry of non-idempotent
      requests if txcount is zero.
    - Modify StreamRequest to Wait for other pipelined reads to complete
      before sending a non-idempotent request body. This should decrease
      the chance of sending a POST body that ends up failing and can't be
      retried.
    - Remove yeild() after @async writebody. This should increase the chance
      that the startread() realises that the connection is dead before the
      body is written.
      Depends on: JuliaLang/MbedTLS.jl#124
    samoconnor committed Mar 2, 2018
    Configuration menu
    Copy the full SHA
    2a4066c View commit details
    Browse the repository at this point in the history