-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
timeouts for hanging requests, event mpm fixes
- Loading branch information
Stefan Eissing
committed
Jan 27, 2016
1 parent
e78f0cb
commit 1e4eee5
Showing
6 changed files
with
110 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
# | ||
|
||
AC_PREREQ([2.69]) | ||
AC_INIT([mod_http2], [1.2.2], [[email protected]]) | ||
AC_INIT([mod_http2], [1.2.3], [[email protected]]) | ||
|
||
LT_PREREQ([2.2.6]) | ||
LT_INIT() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1e4eee5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@icing my chat application now loses connection every time a message is sent with key. Can you log in and check it out before I have to revert back to 1.2.2?
Right before reconnect:
Current settings:
EDIT chat app also times out on its own, without sending any messages.
1e4eee5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EDIT2 tinkering with timeouts seems to have improved things. Equalising
Timeout
now seems like it doesn't trigger the countdown of doom for everyone anymore and app stays up and running.1e4eee5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not certain what the best defaults and behaviour for these two timeouts really are. I think I want to scrap the H2* variants and just use the values from
Timeout
andKeepAliveTimeout
.The processing model for h2 connections is different from the http1 case. So it is not straightforward how to make best use of these timers.
Your site is a good case for the ones that need long timeouts for request processing, as it is using long polling where requests do not produce data for a minute. How would you prefer to configure this?
1e4eee5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The less directives and options the better.
Unless it really breaks things, in which case there's no way to avoid complexity.
So far it seems that equalizing Timeout and H2KeepAliveTimeout really worked, no issues visible right now.