Commit Graph

2818 Commits

Author SHA1 Message Date
Kazu Yamamoto
6f0e9d1a57 warp: ver bumps up. 2016-08-04 14:01:10 +09:00
Kazu Yamamoto
f1104e24a4 updating changelog of warp. 2016-08-04 13:56:23 +09:00
Kazu Yamamoto
fc01eefc1c Merge pull request #573 from bjin/http2-body-length
warp: fix HTTP2 requestBodyLength
2016-08-03 09:54:36 +09:00
Michael Snoyman
e784f0f3bc Version bump 2016-08-02 13:33:01 +03:00
Michael Snoyman
7f4d8ed422 Version bump for #569 #570 2016-08-02 12:55:50 +03:00
Michael Snoyman
3e04ec212c Merge pull request #569 from soenkehahn/ssAddTrailingSlash
wai-app-static: make ssAddTrailingSlash work in combination with ssIn…
2016-07-29 05:52:16 +03:00
Michael Snoyman
d73911bc71 Merge pull request #574 from soenkehahn/test-names
wai-app-static: tweak test-case names
2016-07-28 15:51:48 +03:00
Sönke Hahn
04d4cc4afb wai-app-static: make ssAddTrailingSlash work in combination with ssIndices 2016-07-28 12:27:55 +02:00
Sönke Hahn
03f5c4acb0 wai-app-static: tweak test-case names 2016-07-28 12:17:31 +02:00
Bin Jin
9959b2e794 warp: fix HTTP2 requestBodyLength 2016-07-28 00:08:04 +02:00
Kazu Yamamoto
33248e344f updating warp's changelog. 2016-07-27 15:55:10 +09:00
Kazu Yamamoto
eca7db1a18 Merge pull request #572 from bjin/http2-connect
warp: add HTTP2 CONNECT support
2016-07-26 21:48:30 +09:00
Bin Jin
2b596d992a warp: add HTTP2 CONNECT support
As per section 8.3 of HTTP2 spec, ":scheme" and ":path" should be
omitted and ":authority" is mandatory for HTTP2 CONNECT request.

Treat CONNECT request as a special case for headers check. And also
for CONNECT request, use ":authority" as unparsed path, so that
CONNECT method has consistent behavior compare to HTTP 1.0.

Closes #561
2016-07-26 11:40:59 +02:00
Michael Snoyman
fdb77ec028 Merge pull request #570 from soenkehahn/index-lookup-trailing
Make ssIndices work with ssLookupFile and trailing slashes
2016-07-24 08:52:09 -07:00
Sönke Hahn
6b06875d31 Make ssIndices work with ssLookupFile and trailing slashes 2016-07-24 00:13:35 +02:00
Kazu Yamamoto
190a193713 wai-http2-extra: ver bumps up. 2016-07-22 14:31:55 +09:00
Kazu Yamamoto
63edd4b198 settings for server push middleware with singleton pattern. 2016-07-22 13:59:29 +09:00
Kazu Yamamoto
20b57d6fd1 wai-http2-extra: ver bumps up. 2016-07-21 15:42:14 +09:00
Kazu Yamamoto
6f35b1b65f doc update. 2016-07-21 15:41:50 +09:00
Kazu Yamamoto
4bdf8afabc setting limitation to the referer: cache. 2016-07-21 14:35:13 +09:00
Kazu Yamamoto
0edb0e52ef removing unnecessary trailing white spaces. 2016-07-21 13:56:07 +09:00
Kazu Yamamoto
777ee2cd6a server push based on referer: works only if the status is 200. 2016-07-21 11:22:10 +09:00
Kazu Yamamoto
39a79687f2 Merge branch 'trailers' (#566) 2016-07-19 14:11:16 +09:00
Kazu Yamamoto
72b62923ec defining APIs for HTTP/2 trailers. 2016-07-19 14:10:47 +09:00
Kazu Yamamoto
473457bb16 refactoring Output. 2016-07-19 14:10:47 +09:00
Michael Snoyman
e78cefaff7 Merge pull request #568 from trofi/master
warp.cabal: add missing test file to tarball
2016-07-16 21:12:46 -07:00
Sergei Trofimovich
ed3ca684f5 warp.cabal: add missing test file to tarball
Signed-off-by: Sergei Trofimovich <siarheit@google.com>
2016-07-16 11:00:34 +01:00
Michael Snoyman
bd2735fa4c Merge pull request #567 from wagonhq/ensure-close
Catch `ConnectionClosed` exceptions when attempting to close a stream
2016-07-14 08:55:17 -07:00
Tyler Olson
2b622b3baa Catch ConnectionClosed exceptions when attempting to close a stream 2016-07-13 15:31:49 -07:00
Kazu Yamamoto
c3657a439b wai-http2-extra: ver bumps up. 2016-07-12 14:06:03 +09:00
Kazu Yamamoto
dce703d483 pushing contents only if the status is 200. 2016-07-12 14:05:32 +09:00
Michael Snoyman
72f3066d13 Merge pull request #564 from hce/fix-headerlength-check
Fix the way the header length is determined
2016-07-06 12:53:34 +03:00
Hans-Christian Esperer
a851ef6b70 Fix the tests 2016-07-06 10:56:20 +02:00
Hans-Christian Esperer
7abac81e11 Adjust the tests temporarily, until an (maybe unrelated) bug is fixed 2016-07-06 09:10:40 +02:00
Hans-Christian Esperer
07dec002cb Do another check, not for memory safety, but for correctness, plus amend the test 2016-07-06 08:42:57 +02:00
Hans-Christian Esperer
996d5dcabb Fix the way the header length is determined 2016-07-05 22:33:27 +02:00
Michael Snoyman
194b267f57 Add @since comments 2016-07-05 19:37:27 +03:00
Michael Snoyman
f8fab3fc9e Merge branch 'memory-safe-tempfilebackend' of https://github.com/hce/wai into hce-memory-safe-tempfilebackend 2016-07-05 15:51:51 +03:00
Hans-Christian Esperer
3d0e59aef6 Update version number and changelog 2016-07-05 14:43:28 +02:00
Hans-Christian Esperer
a2899f1e47 Use strict version of atomicModifyIORef' to prevent a memory leak in certain cases 2016-07-05 14:43:28 +02:00
Hans-Christian Esperer
ef4106de60 Move the comment about the max. header length to where it makes more sense 2016-07-05 13:12:50 +02:00
Hans-Christian Esperer
952f3a83c0 Implement the changes suggested by Michael Snoyman 2016-07-04 19:49:23 +02:00
Michael Snoyman
f49f206107 Allow wai-logger 2.3 2016-07-04 15:02:08 +03:00
Kazu Yamamoto
c66d4b5e6d changelog for warp. 2016-07-04 16:21:41 +09:00
Kazu Yamamoto
8362ebf2fa doc update for middleware for server push based on referer. 2016-07-04 15:59:52 +09:00
Kazu Yamamoto
3a21f0b4e1 Merge branch 'push' 2016-07-04 13:09:37 +09:00
Kazu Yamamoto
5af708c384 adding wai-http2-extra. 2016-07-04 10:13:01 +09:00
Hans-Christian Esperer
7ca5af7916 Add a bit of haddock documentation 2016-07-03 09:16:54 +02:00
Hans-Christian Esperer
bf7a319449 Do the parm size check also for x-www-form-urlencoded mimetype 2016-07-03 09:11:05 +02:00
Hans-Christian Esperer
67f69c5d54 Don't forget the sum of already handled files 2016-07-02 21:35:55 +02:00