~ubuntu-branches/ubuntu/hardy/lighttpd/hardy

« back to all changes in this revision

Viewing changes to src/mod_scgi.c

  • Committer: Bazaar Package Importer
  • Author(s): Michele Angrisano
  • Date: 2007-07-28 20:33:22 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070728203322-ut5ym6udh0xjxkma
Tags: 1.4.16-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add fam/gamin stat cache engine support.
  - Replace Depends: on perl with Depends: on libterm-readline-perl-perl.
  - Make sure that upgrades succeed, even if we can't restart lighttpd.
  - Clean environment in init.d script.
  - Update maintainer field in debian/control.

Show diffs side-by-side

added added

removed removed

Lines of Context:
803
803
                        buffer_append_string_buffer(b, host->bin_path);
804
804
 
805
805
                        /* exec the cgi */
806
 
                        execle("/bin/sh", "sh", "-c", b->ptr, NULL, env.ptr);
 
806
                        execle("/bin/sh", "sh", "-c", b->ptr, (char *)NULL, env.ptr);
807
807
 
808
808
                        log_error_write(srv, __FILE__, __LINE__, "sbs",
809
809
                                        "execl failed for:", host->bin_path, strerror(errno));
2286
2286
                                 *
2287
2287
                                 */
2288
2288
 
2289
 
                                log_error_write(srv, __FILE__, __LINE__, "ssdsd",
 
2289
                                log_error_write(srv, __FILE__, __LINE__, "ssosd",
2290
2290
                                                "[REPORT ME] connection was dropped after accept(). reconnect() denied:",
2291
2291
                                                "write-offset:", hctx->wb->bytes_out,
2292
2292
                                                "reconnect attempts:", hctx->reconnects);
2536
2536
                                        return HANDLER_WAIT_FOR_FD;
2537
2537
                                }
2538
2538
 
2539
 
                                log_error_write(srv, __FILE__, __LINE__, "sdsdsd",
 
2539
                                log_error_write(srv, __FILE__, __LINE__, "sosdsd",
2540
2540
                                                "response not sent, request sent:", hctx->wb->bytes_out,
2541
2541
                                                "connection-fd:", con->fd,
2542
2542
                                                "fcgi-fd:", hctx->fd);