Skip to content

HTTP/2 POST to Anthropics API endpoint hangs once the body size reaches 1024 bytes #239

@erikarn

Description

@erikarn

hi! I'm writing a test lua client to talk to the anthropic API endpoint and it hangs when I set a request body / POST 1024 bytes or larger. If I force HTTP/1.1 then everything works fine.

Are there any known issues with HTTP/2, POST and flow-control handling? I'm still getting my head around the code and what HTTP/2 is doing here. It looks like the initial advertised window size is 64k.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions