forked from svenvc/zinc
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #46: add SpSocketError to ZnMultiThreadedServer>>readRequestTer…
…minationExceptionSet and ZnMultiThreadedServer>>writeResponseTerminationExceptionSet
- Loading branch information
1 parent
951b76e
commit a540447
Showing
4 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
...c-HTTP.package/ZnMultiThreadedServer.class/instance/readRequestTerminationExceptionSet.st
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
private | ||
readRequestTerminationExceptionSet | ||
"Return the set of exceptions which, when they occur while reading a request, | ||
"Return the set of exceptions which, when they occur while reading a request, | ||
are interpreted as equivalent to a timeout or connection close." | ||
|
||
^ self | ||
exceptionSet: | ||
#(#ConnectionClosed #ConnectionTimedOut #PrimitiveFailed) | ||
^ self | ||
exceptionSet: | ||
#(#'ConnectionClosed' #'ConnectionTimedOut' #'PrimitiveFailed' #'SpSocketError') |
6 changes: 4 additions & 2 deletions
6
...HTTP.package/ZnMultiThreadedServer.class/instance/writeResponseTerminationExceptionSet.st
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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
private | ||
writeResponseTerminationExceptionSet | ||
"Return the set of exceptions which, when they occur while writing a response, | ||
"Return the set of exceptions which, when they occur while writing a response, | ||
are interpreted as equivalent to a timeout or connection close." | ||
|
||
^ self exceptionSet: #(#ConnectionClosed #ConnectionTimedOut #PrimitiveFailed) | ||
^ self | ||
exceptionSet: | ||
#(#'ConnectionClosed' #'ConnectionTimedOut' #'PrimitiveFailed' #'SpSocketError') |
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
Large diffs are not rendered by default.
Oops, something went wrong.