Permalink
Switch branches/tags
Nothing to show
Commits on May 7, 2012
  1. Fix double-close again.

    manuelkasper 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
    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
    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

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

    manuelkasper committed May 2, 2012
    Conflicts:
    	src/connection.c
Commits on May 1, 2012
  1. Merge pull request #6 from dlundquist/troubleshooting-close-wait

    dlundquist committed May 1, 2012
    Fix CLOSE_WAIT issue
  2. Clean up debugging code. It was reporting a client and server connect…

    dlundquist committed May 1, 2012
    …ion still open when freeing connection, but I belive this was because of another connection reusing those file descriptors
  3. Fix for CLOSE_WAIT

    dlundquist committed May 1, 2012
  4. Fix bug where we would not include the last connection in CLIENT_CLOS…

    dlundquist committed May 1, 2012
    …E or SERVER_CLOSE in select() fdset, so we wait for new connection in select() before closing that socket.
  5. Tweaked functional test to provide a good test of this case

    dlundquist committed May 1, 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
    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)

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

    manuelkasper committed Apr 27, 2012
    Close sockets properly in any case to avoid CLOSE_WAIT state. Fix
    memory leak with client/server buffers.
  4. Merge pull request #5 from dlundquist/config

    dlundquist committed Apr 27, 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. adding pidfile to TODO

    dlundquist committed Apr 27, 2012
Commits on Apr 26, 2012
  1. removing old readme

    dlundquist committed Apr 26, 2012
  2. Updating docs

    dlundquist committed Apr 26, 2012
Commits on Apr 23, 2012
  1. BSD license

    dlundquist committed Apr 23, 2012
  2. BSD license

    dlundquist committed Apr 23, 2012
Commits on Apr 13, 2012
Commits on Apr 12, 2012
  1. cleanup

    dlundquist committed Apr 12, 2012
  2. Display curl errors

    dlundquist committed Apr 12, 2012
  3. Merge pull request #4 from dlundquist/fix-nonblocking-send

    dlundquist committed Apr 12, 2012
    Fix nonblocking send
  4. Rework buffer handling in connection module. This should resolve buff…

    dlundquist committed Apr 12, 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. Buffer output

    dlundquist committed Apr 9, 2012
Commits on Apr 6, 2012
  1. Circular buffer module

    dlundquist committed Apr 6, 2012
Commits on Mar 26, 2012
  1. Remove unused include

    dlundquist committed Mar 26, 2012