1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
Commit graph

5 commits

Author SHA1 Message Date
Evan Phoenix
e1bbb27e93 Fix JRuby parser 2015-11-07 09:14:25 -08:00
Alejandro Martinez Ruiz
800cfeeac3 ext/puma_http11: handle duplicate headers as per RFC for Java ext
The parser stores headers in a Ruby hash table so that when a header
is found twice its value replaces the old one. As per RFC[1] this is
not correct, since duplicated headers should all be considered. In
particular, they are semantically equivalent to a single header with
comma separated values. In this case, we follow existing practice of
joining values with a comma and a single space character.

[1] See RFC2616 section 4.2:
    http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
2015-11-06 18:56:56 +01:00
Priyank Chodisetti
139690ecf9 Increase the max URI path length to 2048 chars from 1024 chars 2013-11-10 00:16:30 -08:00
Evan Phoenix
dcffc1b765 Some fixes to the java parser 2011-11-22 13:17:22 -08:00
Charles Oliver Nutter
d692475955 First pass updating JRuby bits for Puma.
* Rename Mongrel to Puma and move files appropriately
* Add HttParser11#body method
* Fix native.rake to not attempt C ext under JRuby
* Mask out all of test_unix_socket.rb under JRuby
2011-11-22 13:43:54 -06:00
Renamed from ext/puma_http11/org/jruby/mongrel/Http11.java (Browse further)