Skip to content
Commits on May 7, 2012
  1. Fix double-close again.

    committed May 7, 2012
    Handle all closing within handle_connections() using error return code
    from _rx/_tx to avoid double-close problem. Move last activity
    timestamp update to _rx/_tx functions.
Commits on May 6, 2012
  1. Avoid 100% CPU after socket error.

    Manuel Kasper committed May 6, 2012
    Close sockets when recv/send returns an error that is deemed fatal
    (otherwise the server will spin on a socket that returns EPIPE for all
    sendmsg() calls). Restructure client/server close calls. Treat EINTR as
    temporary error.
Commits on May 2, 2012
  1. Fix select() error invalid file descriptor.

    Manuel Kasper committed May 2, 2012
    Also fix interpretation of EAGAIN/EWOULDBLOCK (which are == on most
    systems though).
  2. Undo fd -1 tests and fix indentation

    committed May 2, 2012
    To bring this closer to upstream.
  3. Merge remote-tracking branch 'upstream/master'

    committed May 2, 2012
    Conflicts:
    	src/connection.c
  4. @dlundquist
Commits on May 1, 2012
  1. @dlundquist

    Merge pull request #6 from dlundquist/troubleshooting-close-wait

    dlundquist committed Apr 30, 2012
    Fix CLOSE_WAIT issue
  2. @dlundquist
  3. @dlundquist

    Clean up debugging code. It was reporting a client and server connect…

    dlundquist committed Apr 30, 2012
    …ion still open when freeing connection, but I belive this was because of another connection reusing those file descriptors
  4. @dlundquist

    Fix for CLOSE_WAIT

    dlundquist committed Apr 30, 2012
  5. @dlundquist

    Fix bug where we would not include the last connection in CLIENT_CLOS…

    dlundquist committed Apr 30, 2012
    …E or SERVER_CLOSE in select() fdset, so we wait for new connection in select() before closing that socket.
  6. @dlundquist

    Tweaked functional test to provide a good test of this case

    dlundquist committed Apr 30, 2012
    Added debugging to connection.c and tried to handle all cases correctly in close_connection()
Commits on Apr 27, 2012
  1. Inactivity timeout

    Manuel Kasper committed Apr 27, 2012
    Add a crude inactivity timeout so that clients that drop off the
    network without saying goodbye won't cause TCP connections that linger
    around for a long time.
  2. Fix some instances of close(-1)

    committed Apr 27, 2012
    Found by valgrind. This is getting a bit hairy...
  3. Close sockets properly.

    committed Apr 27, 2012
    Close sockets properly in any case to avoid CLOSE_WAIT state. Fix
    memory leak with client/server buffers.
  4. @dlundquist

    Merge pull request #5 from dlundquist/config

    dlundquist committed Apr 26, 2012
    Merging config branch. This code has been the primary development focus for recent months, and brings several important improvements. This does break configuration reloading.
  5. @dlundquist
  6. @dlundquist

    adding pidfile to TODO

    dlundquist committed Apr 26, 2012
  7. @dlundquist
Commits on Apr 26, 2012
  1. @dlundquist

    removing old readme

    dlundquist committed Apr 26, 2012
  2. @dlundquist

    Updating docs

    dlundquist committed Apr 26, 2012
Commits on Apr 23, 2012
  1. @dlundquist

    BSD license

    dlundquist committed Apr 22, 2012
  2. @dlundquist

    BSD license

    dlundquist committed Apr 22, 2012
Commits on Apr 13, 2012
  1. @dlundquist
Commits on Apr 12, 2012
  1. @dlundquist

    cleanup

    dlundquist committed Apr 12, 2012
  2. @dlundquist

    Display curl errors

    dlundquist committed Apr 12, 2012
  3. @dlundquist
  4. @dlundquist

    Merge pull request #4 from dlundquist/fix-nonblocking-send

    dlundquist committed Apr 11, 2012
    Fix nonblocking send
  5. @dlundquist
  6. @dlundquist

    Rework buffer handling in connection module. This should resolve buff…

    dlundquist committed Apr 11, 2012
    …ering
    
    issues with slow clients and servers (GH issues #2 and #3).
    
    Also added connection debugging, sni-proxy will respond to SIGUSR1 by writing
    temp file to /tmp/sni-proxy-connections-XXXXXX, exact filename is logged.
Commits on Apr 9, 2012
  1. @dlundquist

    Buffer output

    dlundquist committed Apr 9, 2012
Commits on Apr 6, 2012
  1. @dlundquist

    Circular buffer module

    dlundquist committed Apr 6, 2012
Commits on Mar 26, 2012
  1. @dlundquist

    Remove unused include

    dlundquist committed Mar 26, 2012
Something went wrong with that request. Please try again.