Brad Fitzpatrick
|
3d7a3adb4e
Fix stream state transitions and remove from map when states goes to CLOSED.
|
11 years ago |
Brad Fitzpatrick
|
b7d6561059
Fix race in test
|
11 years ago |
Brad Fitzpatrick
|
0db6d6557b
Add a failing state transition test.
|
11 years ago |
Brad Fitzpatrick
|
6d3aa4f311
Interrupt Request.Body.Read on RSTStream or connection close.
|
11 years ago |
Brad Fitzpatrick
|
b0b6955472
Add HTTP_1_1_REQUIRED error code.
|
11 years ago |
Brad Fitzpatrick
|
4ea2134aa5
Fix infinite recursion in ErrCode.Error method.
|
11 years ago |
Brad Fitzpatrick
|
a95922a458
add a TODO
|
11 years ago |
Brad Fitzpatrick
|
55815ec7b5
Write flow control token overflow errors on the writeFrames loop, add tests.
|
11 years ago |
Brad Fitzpatrick
|
4e0d1079c0
Merge branch 'master' of github.com:bradfitz/http2
|
11 years ago |
Brad Fitzpatrick
|
7a430dbfa1
Move initial settings writing to writing goroutine.
|
11 years ago |
Brad Fitzpatrick
|
162751004b
Remove TODOs from TestServerWithCurl; make it send a body too
|
11 years ago |
Brad Fitzpatrick
|
9d63ade81d
Automatic 100-continue support
|
11 years ago |
Brad Fitzpatrick
|
a29a323269
Replace wantWriteFrameCh with a method.
|
11 years ago |
Brad Fitzpatrick
|
d07a0e4d5e
Simply, break up serve loop, handle SettingsFrames better, ACK them, etc
|
11 years ago |
Brad Fitzpatrick
|
2ab3950069
Add SettingsFrame.IsAck accessor
|
11 years ago |
Brad Fitzpatrick
|
da4be5d317
Rename frameAndProcessed to frameAndGate, add little helper type.
|
11 years ago |
Brad Fitzpatrick
|
9584203e73
Pull readPreface into its own method, add timeout per TODO
|
11 years ago |
Brad Fitzpatrick
|
6520e26846
Add cache of common HTTP headers mapped between lower and canonical case.
|
11 years ago |
Brad Fitzpatrick
|
9e0ecccb7f
Write PING acks on the right goroutine, rename a few things
|
11 years ago |
Brad Fitzpatrick
|
7197fa6d9c
Add the demo server back, slightly cleaned up.
|
11 years ago |
Brad Fitzpatrick
|
ff0471bf0d
Populate Request.URL.Path correctly.
|
11 years ago |
Brad Fitzpatrick
|
390047ea2a
Support ResponseWriter.Write from http.Handlers (sending DATA frames)
|
11 years ago |
Brad Fitzpatrick
|
6394403ef4
Add StreamEnded frame accessors.
|
11 years ago |
Brad Fitzpatrick
|
be34115420
internal paranoia: detect unbuffered channels passed to the frame writer
|
11 years ago |
Brad Fitzpatrick
|
520123b8fc
Redesign how frames are written.
|
11 years ago |
Brad Fitzpatrick
|
15a4bf34e6
Baby steps towards handlers responding with data.
|
11 years ago |
Brad Fitzpatrick
|
1f430e1246
Move flow.cur out of test file. Might use it in ResponseWriter.
|
11 years ago |
Brad Fitzpatrick
|
729bd7279c
Break responseWriter into small and large parts.
|
11 years ago |
Brad Fitzpatrick
|
b5469d2b7f
server: rearrange
|
11 years ago |
Brad Fitzpatrick
|
b331b819ec
Break http2*.go up into http2 and server parts.
|
11 years ago |