Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-454

Include carriage return in HTTP requests

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • Not Needed

      Scope

      • Use "\r\n" as the line delimiter, not "\n" for HTTP requests.

      Background & Motivation

      KMS message uses "\n" as the line delimiter. Example. This has not caused issues in practice with any KMS servers.

      https://stackoverflow.com/a/5757349/774658 notes:

      a recipient MAY recognize a single LF as a line terminator and ignore any preceding CR.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: