Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 22, 2011
  1. @benoitc

    fix post_request config

    benoitc authored
  2. @benoitc

    0.13 release news.

    benoitc authored
  3. @benoitc
  4. @tilgovi @benoitc

    add Phil Schanely to THANKS

    tilgovi authored benoitc committed
  5. @benoitc

    New on_reload server hook to customize how SIGHUPs spawn new workers.

    Phil Schanely authored benoitc committed
  6. @tilgovi
  7. @tilgovi

    add denik to THANKS

    tilgovi authored
  8. @denik @tilgovi

    when stopping the arbiter, close the listener asap

    denik authored tilgovi committed
    setting self.LISTENER to None is not enough because
    self.WORKERS also have references to it
  9. @tilgovi

    fix typo in glogging module

    tilgovi authored
  10. @tilgovi

    reopen logs on USR1 to master

    tilgovi authored
Commits on Aug 21, 2011
  1. @benoitc

    Use our own logger object to log events in gunicorn. While I'm here add

    benoitc authored
    the possibility to manage an access log compatible with apache combined
    log format. reopening files is also handled. Also, this change fix
    issues #237 and #190.
    For the sake of simplicity logging file have been removed
    --logfile option has become --error-logfile, by default "-"
    Following options have been added:
    --access-logfile, the access log file path. By default None. If set
    access logs will bre written to defined output
    $ gunicorn -w3 --access-logfile=- test:app
    2011-08-21 19:36:52 [84572] [INFO] Starting gunicorn 0.13.0
    2011-08-21 19:36:52 [84572] [INFO] Listening at:
    2011-08-21 19:36:52 [84572] [INFO] Using worker: sync
    2011-08-21 19:36:52 [84573] [INFO] Booting worker with pid: 84573
    2011-08-21 19:36:52 [84574] [INFO] Booting worker with pid: 84574
    2011-08-21 19:36:52 [84575] [INFO] Booting worker with pid: 84575 - - [21/Aug/2011:19:37:04] "GET / HTTP/1.1" 200 14 "-"
    "curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r
  2. bump version to 0.13.0

    benoitc authored
  3. @brosner

    When the response is a 304 turn off chunked responses as there is a g…

    brosner authored benoitc committed
    …uarantee there is no response body (hence no Content-Length defined)
    This can cause odd behavior with browsers not being able to parse the response
    correctly (not sure if this is just a property of empty chunked responses or
    something else)
  4. @anandology

    Preserve semicolons in the path. #215

    anandology authored benoitc committed
    `urlparse.urlparse` splits the url at semicolons and calls it params. Since
    the WSGI doesn't have any special treatment for params, they should be
    preserved and passed to the wsgi app. Using `urlparse.urlsplit` to
    avoid splitting the params.
  5. get settings module name on fork rather than on app initialization. It

    benoitc authored
    allows people to use relative path in their projects. fix issues #219,
    and #213
Commits on Aug 2, 2011
  1. let post_request accept the environ.

    benoitc authored
Commits on Jul 8, 2011
  1. remove redundant exception handling an async base

    Randall Leeds authored
    StopIteration is simply propogated, so there's no reason to catch it.
    The catch-all exception is also caught and logged in handle(), but
    broken pipe errors are ignored. The redundant catch here was generating
    excess logging by calling handle_error for a broken pipe which fails to
    send the error because the client has already disconnected.
Commits on Jul 6, 2011
  1. @benoitc
  2. @fairview @benoitc

    Change handling of headers that indicate SSL requests.

    fairview authored benoitc committed
    Instead of hardcoding X-Forwarded-Protocol and X-Forwarded-SSL, make the
    header and value configurable, with no default that would enable a
    client to spoof secure requests if the reverse proxy is not configured
    to strip the header used.
  3. @benoitc
Commits on Jun 25, 2011
  1. @benoitc

    main problem of current run_gunicorn reload behaviour is that settings

    benoitc authored
    aren't correctly reloaded. First attempt to remove it from sys.modules
    introduced more problem than it solved.
    This new attempt, just get the module, reload it and populate currently
    loaded settings with new values.
  2. @keegancsmith @benoitc

    Updated docs to reflect the proper alternative syntax for specifying …

    keegancsmith authored benoitc committed
    …a worker class.
  3. @garrison @benoitc

    fixed spelling of _sendfile

    garrison authored benoitc committed
Commits on Jun 15, 2011
  1. @davisp

    Disable attempt at reloading Django modules.

    davisp authored
    This appears to be causing errors in user code so we decided
    to disable it until we can find a cause or better method for
    reloading Django.
  2. @davisp

    Fix bug in Arbiter.manage_workers.

    davisp authored
    My fix yesterday was broken when sorting workers. Thanks to
    Sabin Iacob for the report.
Commits on Jun 14, 2011
  1. @davisp

    Avoid race condition in dict iteration.

    davisp authored
    Its possible that when iterating Arbiter.WORKERS in manage_workers we
    get interupted to handle a SIGCHLD which will pop the child PID from
    the dict which results in a "dict changed size while iterating
    error. Reported on IRC. Simple fix is to just copy the dict into a
    list that we iterate.
Commits on Jun 6, 2011
  1. @davisp

    Fixed Tornado worker exiting.

    davisp authored
    Thanks to Masahiro Nakagawa for the report and patch.
    Fixes #216
Commits on Jun 2, 2011
  1. @davisp
Commits on May 18, 2011
  1. @benoitc

    update doc

    benoitc authored
  2. @benoitc
Commits on May 11, 2011
  1. @WoLpH @benoitc

    removed python string formatting from logging to enable log message g…

    WoLpH authored benoitc committed
  2. @benoitc

    add Michael Schurter to THANKS

    benoitc authored
  3. @schmichael @benoitc

    Remove unneeded lambda

    schmichael authored benoitc committed
  4. @benoitc

    fix import.

    benoitc authored
Something went wrong with that request. Please try again.