Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Moto Ishizawa aabf5d1fb9 Handle ECONNRESET as connection close 2015-02-19 22:48:03 +09:00
Moto Ishizawa 3aea0c7218 Refactor test cases
- Use TestCase struct
- Use TestGroup struct
- Output expected and actual result
2015-02-15 23:32:50 +09:00
Tatsuhiro Tsujikawa e2f3f5575a Refactor encoding header to make writing test easy 2015-01-24 17:40:30 +09:00
Moto Ishizawa eaaa83419f Add timeout option (-o) 2015-01-23 22:59:59 +09:00
Moto Ishizawa 45cb654244 Support the partial execution of tests 2015-01-20 23:49:47 +09:00
Tatsuhiro Tsujikawa a89d92e92e Refactor reading frame
Previously we call fr.ReadFrame() in go routine, but it is potentially
dangerous since fr.ReadFrame() doc says that the returned http2.Frame
"is only valid until the next call to ReadFrame."

This commit avoids the above problem by reading frame at a time and
process it completely before calling fr.ReadFrame().
2015-01-19 01:26:26 +09:00
Tatsuhiro Tsujikawa 24a9c1c1a6 Fix test cases
5.4: We submitted DATA to non-open stream, thus we expect
STREAM_CLOSED error code.

6_10: We should not set END_STREAM flag to HEADERS, otherwise
following DATA is treated as stream error (STREAM_CLOSED) because
half-closed (remote) and no GOAWAY situation arises.

6_9: From the specification, WINDOW_UPDATE with increment of 0 to a
stream causes stream error, not connection error.  Although,
implementation may choose connection error at their will.
2015-01-14 23:49:49 +09:00
Moto Ishizawa 9acd5700d0 Add missing footer 2015-01-07 00:06:49 +09:00
Moto Ishizawa 5599846fb6 Add tests for 6.10 2014-12-23 00:11:15 +09:00