Skip to content

http server arbitrarily finishes requests #580

@hoisie

Description

@hoisie
What steps will reproduce the problem?
1. Run this code, which tries to keep a connection open to send data:
http://pastie.org/805167

What is the expected output? What do you see instead?
The expected output is 1..10. Instead, finishRequest is called and nothing 
gets sent to the client. 

What is your $GOOS?  $GOARCH?
linux/amd64

Which revision are you using?  (hg identify)
47bb38c01374+ tip

Please provide any additional information below.
The http server should never finish a request unless finishRequest is 
explicitly called by the user. This makes it impossible to write real-time 
web apps with go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions