nghttp2/integration-tests
Tatsuhiro Tsujikawa b157d4ebb2 Validate HTTP semantics by default
Previously we did not check HTTP semantics and it is left out for
application.  Although checking is relatively easy, but they are
scattered and error prone.  We have implemented these checks in our
applications and also feel they are tedious.  To make application
development a bit easier, this commit adds basic HTTP semantics
validation to library code.  We do following checks:

server:

* HEADERS is either request header or trailer header.  Other type of
header is disallowed.

client:

* HEADERS is either zero or more non-final response header or final
  response header or trailer header.  Other type of header is
  disallowed.

For both:

* Check mandatory pseudo header fields.
* Make sure that content-length matches the amount of DATA we
  received.

If validation fails, RST_STREAM of type PROTOCOL_ERROR is issued.
2015-02-20 01:01:10 +09:00
..
Makefile.am integration: Add missing alt-server.key and alt-server.crt to EXTRA_DIST 2015-01-25 21:35:45 +09:00
alt-server.crt nghttpx: Refactor code to build cert_tree, add SNI test 2015-01-25 15:36:14 +09:00
alt-server.key nghttpx: Refactor code to build cert_tree, add SNI test 2015-01-25 15:36:14 +09:00
config.go.in Add integration tests for nghttpx using golang testing framework 2015-01-19 00:27:24 +09:00
nghttpx_http1_test.go nghttpx: Add --no-host-rewrite option 2015-02-04 01:42:26 +09:00
nghttpx_http2_test.go Validate HTTP semantics by default 2015-02-20 01:01:10 +09:00
nghttpx_spdy_test.go integration: Add tests about via header field manipulation 2015-01-27 00:19:57 +09:00
server.crt integration: Add TLS key and certificate for testing 2015-01-23 21:25:21 +09:00
server.key integration: Add TLS key and certificate for testing 2015-01-23 21:25:21 +09:00
server_tester.go integration: Add server push test 2015-02-08 16:10:01 +09:00
setenv.in integration: Add tests for HTTP/2 backend using go-nghttp2 2015-01-20 00:45:51 +09:00