Priyank Chodisetti
139690ecf9
Increase the max URI path length to 2048 chars from 1024 chars
2013-11-10 00:16:30 -08:00
Dirkjan Bussink
ba5264e72b
Define RSTRING_NOT_MODIFIED for Rubinius performance
...
This ensures the header is defined before ruby.h is included.
2013-09-04 20:15:56 +02:00
Evan Phoenix
3726b7ef19
Change parser symbol names to avoid clash. Fixes #179
2013-07-18 11:22:18 -07:00
Evan Phoenix
d04ad557b8
Add missing return value (oh C, you're so crazy for allowing it)
2012-11-29 12:27:13 -08:00
Evan Phoenix
36c36f611f
Fix compiler warnings
2012-11-29 11:34:46 -08:00
Evan Phoenix
05af17d3f7
Free old buffer properly
2012-09-25 09:00:36 -07:00
Evan Phoenix
faf7f9916c
Merge branch 'minissl' into just-dash-w
...
Conflicts:
ext/puma_http11/puma_http11.c
lib/puma/cli.rb
lib/puma/server.rb
2012-09-10 08:41:43 -07:00
Evan Phoenix
7adcb771a5
More work on the Java version, not working
2012-08-26 13:55:36 -07:00
Jingwen Owen Ou
6a5b30ea30
Move singleton method to MiniSSL.java
2012-08-23 20:06:18 -07:00
Evan Phoenix
e191003fc4
Start java version of MiniSSL
2012-08-23 16:56:37 -07:00
Evan Phoenix
d7ff3888c0
Fix some warnings
2012-08-22 22:38:41 -07:00
Evan Phoenix
f38678f2d7
Handle SSL eof and nonblocking
2012-08-22 22:34:10 -07:00
Evan Phoenix
17a058a158
Minor cleanup and properly scope
2012-08-22 22:12:12 -07:00
Evan Phoenix
327e2013e1
Get OpenSSL driven version working
2012-08-22 22:06:47 -07:00
Evan Phoenix
f792702dab
Start MiniSSL
2012-08-22 16:53:25 -07:00
Evan Phoenix
ab8dbfeb96
Vastly improve IO perf on 1.9.3
...
Puma::IOBuffer is a very simple memory buffer that allows for fast
append without additional object overhead.
Additionally, turns out that IO#write on 1.9.3 is extremely
non-performant because it allows a Hash object on every invocation.
Avoid calling IO#write in a loop on 1.9.3! Use IO#syswrite if you can
(for instance when you don't care about the encoding of the output
(sockets)).
2012-08-11 15:09:09 -07:00
Evan Phoenix
a1c457f331
Cleanup warnings
2012-08-10 10:12:33 -07:00
Thibault Jouan
4efbc7071a
Allow compilation with -Werror=format-security option
2012-07-10 22:47:49 +00:00
Dirkjan Bussink
0728ce5ba9
Define RSTRING_NOT_MODIFIED for Rubinius
...
As far as I could tell, the buffer given to the http parser isn't
modified. Because it is not modified, we can use the
RSTRING_NOT_MODIFIED header to ensure that Rubinius hasn't do the extra
work to copy the data back and forth.
2012-06-13 09:27:09 +02:00
Charles Oliver Nutter
cae0e02715
Minimal change to get puma_http11 extension loading on JRuby.
2012-01-15 18:04:01 -06:00
Luis Lavena
474ba70647
Build extensions
...
And place the resulting extension in 'puma' namespace
2012-01-08 16:32:32 -03:00
Sokolov Yura
684b15db3d
ALLOC_N uses xmalloc, so that, use xfree for free
2012-01-06 14:47:10 +04:00
Charles Oliver Nutter
0e316b2c20
Fix use of "unsafeBytes" leading to offset errors and regen parser.
2011-11-22 16:23:34 -06: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
Evan Phoenix
40dac162a2
Change name of parser extension to puma_http11
2011-10-04 20:35:50 -07:00