Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 85620 Details for
Bug 131489
ruby-fcgi-0.8.6 failing for file uploads from lighttpd (O_NONBLOCK)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to ruby-fcgi to disable non-blocking socket
ruby-fcgi-0.8.6-eagain.patch (text/plain), 692 bytes, created by
Eoin Curran
on 2006-04-27 11:23:08 UTC
(
hide
)
Description:
Patch to ruby-fcgi to disable non-blocking socket
Filename:
MIME Type:
Creator:
Eoin Curran
Created:
2006-04-27 11:23:08 UTC
Size:
692 bytes
patch
obsolete
>--- ruby-fcgi-0.8.6/ext/fcgi/fcgi.c Fri Apr 1 03:21:41 2005 >+++ ruby-fcgi-0.8.6.patched/ext/fcgi/fcgi.c Sat Dec 24 06:29:08 2005 >@@ -8,6 +8,7 @@ > #include <sys/types.h> > #include <unistd.h> > #include <errno.h> >+#include <fcntl.h> > > #include "ruby.h" > #ifdef HAVE_FASTCGI_FCGIAPP_H >@@ -74,6 +75,15 @@ > char **env; > VALUE obj,key, value; > char *pkey,*pvalue; >+ int flags, fd; >+ >+ /* Unset NONBLOCKING */ >+ fd = ((FCGX_Request*) req)->ipcFd; >+ flags = fcntl(fd, F_GETFL); >+ >+ if (flags & O_NONBLOCK) { >+ fcntl(fd, F_SETFL, flags & ~O_NONBLOCK); >+ } > > obj = Data_Make_Struct(self, fcgi_data, fcgi_mark, fcgi_free_req, data); > data->req = req;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 131489
: 85620 |
85621