Skip to content

Adjust ssl read loops for POST timeouts - #2248

Closed
shinrich wants to merge 3 commits into
apache:7.1.xfrom
shinrich:post_no_activity
Closed

Adjust ssl read loops for POST timeouts#2248
shinrich wants to merge 3 commits into
apache:7.1.xfrom
shinrich:post_no_activity

Conversation

@shinrich

@shinrich shinrich commented Jul 7, 2017

Copy link
Copy Markdown
Member

Taking over from PR #2242. Taking @maskit and @oknet comments to break up the read loop to fill at most one buffer block before giving control back to event loop. Keeping read triggered if there is more to be read, so hopefully there will not be needless waiting (probably the cause of my original slow upload problems).

Also added logic to set inactivity timeout to 0 on UA side after the user agent has sent all of its data. Not 100% sure this is what we want to do. It did solve my reproduction case, but I think pdm's case is different. Threw it in to help debugging.

Also backed up one commit temporarily to push along debugging. That commit is not part of the final solution.

@shinrich

shinrich commented Jul 7, 2017

Copy link
Copy Markdown
Member Author

Closing this PR in reference to the PR #2249 against master.

@shinrich shinrich closed this Jul 7, 2017
@zwoop zwoop removed this from the 7.1.0 milestone Jul 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants