diff options
Diffstat (limited to 'tests/http11.test')
-rw-r--r-- | tests/http11.test | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/http11.test b/tests/http11.test index 2e50837..1e30802 100644 --- a/tests/http11.test +++ b/tests/http11.test @@ -515,10 +515,7 @@ proc handler {var sock token} { set chunk [read $sock] append data $chunk #::http::Log "handler read [string length $chunk] ([chan configure $sock -buffersize])" - if {[eof $sock]} { - #::http::Log "handler eof $sock" - chan event $sock readable {} - } + return [string length $chunk] } test http11-3.0 "-handler,close,identity" -setup { |