Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Simple HTTP cleanups and followup to #72 #76

Merged
merged 10 commits into from
Nov 28, 2022
Merged

Commits on Nov 19, 2022

  1. Configuration menu
    Copy the full SHA
    36708d6 View commit details
    Browse the repository at this point in the history
  2. simple_http: split HttpParseError into several variants

    There is only one case left, which probably should not be an error at all.
    apoelstra committed Nov 19, 2022
    Configuration menu
    Copy the full SHA
    7640a4b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e6eaedd View commit details
    Browse the repository at this point in the history
  4. simple_http: handle large or missing Content-length headers correctly

    Also eliminate an allocation when parsing the header.
    apoelstra committed Nov 19, 2022
    Configuration menu
    Copy the full SHA
    2a0903e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f44a535 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8d2ec83 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2022

  1. simple_http: store the BufReader rather than bare socket

    When we create/destroy BufReaders we potentially lose data on the socket.
    Avoid doing this by keeping the BufReader permanently.
    apoelstra committed Nov 26, 2022
    Configuration menu
    Copy the full SHA
    20da231 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c20033e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    72bea34 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2380d90 View commit details
    Browse the repository at this point in the history