Skip to content

json_input: use Content-Length when available - #307

Open
PFGimenez wants to merge 1 commit into
tomaka:masterfrom
PFGimenez:master
Open

PFGimenez wants to merge 1 commit into
tomaka:masterfrom
PFGimenez:master

Conversation

@PFGimenez

Copy link
Copy Markdown

Hi all,

First, thanks for maintaining this repo!

I had an issue when the HTTP header "Connection" is not "closed": json_input would hang. So, I modified the library so it would check the Content-Length field when available.

This PR has been written without AI and the fix works for me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant