Every repository with this icon (
Every repository with this icon (
| Description: | PSGI reference implementation and helper utilities edit |
-
This is a placeholder task to track IO::AIO patch for OSX.
Comments
Sorry the returned value from eio_sendfile was undefined when sendfile(2) on FreeBSD or OSX returned -1 due not_ to EAGAIN or EINTR.
The updated patch is here: http://gist.github.com/raw/187277/eae489aa508168c4744dc0772bc48b1ce101bc5d/gistfile1.txt
Updated the patch once more. Now patches libeio/libeio.m4 as well that checks the existence of sendfile(2) when creating Makefile.
The installation procedures is: 1) apply the patch using patch -p0, 2) autoreconf, 3) perl Makefile.PL, 4) make all test installhttp://gist.github.com/raw/187277/7218778372d287ee9fde83a531c92ab6f1d7be4f/gistfile1.txt
-
to deal with X-Forwarded-For
Comments
-
curl -F multipart upload stacks because it want Expect: 100-continue
0 comments Created about 1 month ago by miyagawaThis is just because we don't support HTTP/1.1 in standalone. -0 option (force HTTP/1.0) would work.
Comments
-
http://robhudson.github.com/django-debug-toolbar/
http://www.brynary.com/2009/4/22/rack-bug-debugging-toolbar-in-four-minutesThis would be a middleware to install debug toolbar panels and provide a basic fallback so app frameworks can record stuff, as well as a set of plugins to override common module methods like Memcached or DBI.
Comments
-
response_cb doesn't implement poll_cb, and actually don't know how... it causes a deadlock easily
Comments
-
also to give an option of passing $self in the callback, maybe with an option or a different name like inline_object_with_self
Comments
-
We probably shouldn't use Path::Class here...
Comments
-
Chunked should look at if HTTP/1.1 is in effect
1 comment Created 15 days ago by miyagawaTatsumaki did Transfer-Encoding: identity but it caused issues with Apache proxy, so i removed it, but this will then cause problems with Firefox though:
The problem was, if we omit Transfer-Encoding here, middleware::chunked chunks the response regardless of the response is HTTP/1.1 or 1.0, and Tatsumaki::Server and Plack::Server::AnyEvent don't do HTTP/1.1 response yet, so Firefox ignores the Transfer-Encoding: chunked and fails to parse the pushed stream.
Eh.
I guess the right thing is to let our AnyEvent do HTTP/1.1 as well as middleware::chunked not chunk the response, but kill keep-alive connection after the response.
Comments
-
Deflate middleware response doesn't work with LWP/Firefox
0 comments Created 13 days ago by miyagawadeflate response doesn't get decoded properly by LWP clients and Firefox.
Comments
-
include fastcgi_params should fill most of fastcgi params but apparently PATH_INFO is not passed. Should be documented in FCGI.pm
Comments
-
Filesys::Notify::Simple fails on OS X Snow Leopard?
0 comments Created 11 days ago by miyagawa.
Comments
-
if (__FILE__ eq $0) { exec 'plackup', '-a', $0, @ARGV; }would be a common pattern in .psgi script to be runnable it self. Make it a module?
Comments
-
When you stash wide character (utf-8 strings) in a response body the Standalone server gets killed. It's an user error but at least the server shouldn't die.
Comments
-
Integrating Plack::Test callback with LWP::UserAgent should be an interesting hack.
request_send needs a matching spec which requires host and port which Plack::Test mangles. I guess the client needs a second parameter to get those parameters for that.
Comments











