Chromium Code Reviews
DescriptionDon't report unuseful SocketIOExceptions on HttpServer.
1) Don't report error if HttpResponse was closed while we were sending
data. Instead, just drain/close the data sources. This matches how
people expect the HttpResponse to act. This will _not_ happen for
HttpClientRequest.
2) Don't report incomplete headers on HttpServer.listen. The information
are not useful, as the user don't even have a chance to act on the bad
headers/socket. We not just silently close the socket.
BUG=
R=sgjesse@google.com
Committed: https://code.google.com/p/dart/source/detail?r=23069
Patch Set 1 #
Total comments: 2
Patch Set 2 : Improve test. #
Messages
Total messages: 4 (0 generated)
|
|||||||||||||||||||||||||||||||||||||