Commits on Jul 14, 2012
Commits on Jul 11, 2012
  1. Fixed wrong address being gathered on IPv6.

    davidmoreno committed Jul 11, 2012
    It was passing the wrong size of the struct to accept4; it was passing the size of the pointer not of the struct.
Commits on Jul 10, 2012
Commits on Jun 29, 2012
Commits on May 9, 2012
  1. More work on C++ bindings.

    davidmoreno committed May 9, 2012
    Added extra handlers, and dict can set if autodelete at destructor or not, heritage of using dict * in onion C code, where sometimes the ownsership of the dict is changed.
Commits on May 4, 2012
  1. Added tests to check onion_request_get_sockaddr_atorage works properl…

    davidmoreno committed May 4, 2012
    …y. Now requests can get all available info from client.
Commits on May 3, 2012
  1. Requests can return the sockaddr_storage data to be consumed by the h…

    davidmoreno committed May 3, 2012
    …andlers, hello use it.
    Although hello use it it will be moved to testsor another example, to that hellos stays simple.
  2. First step to store proper client information as provided by the sock…

    davidmoreno committed May 3, 2012
    …et API.
    It stores the sockaddr_storage data on the request, but still provides ABI/API compatible functions.
Commits on Apr 17, 2012
Commits on Apr 3, 2012
Commits on Mar 29, 2012
  1. Use of a comparison function pointer at dict instead of fixed strcmp.

    davidmoreno committed Mar 29, 2012
    This allows us to do strcasecmp of the keys, or add other comparison methods.
Commits on Mar 27, 2012
Commits on Mar 23, 2012
  1. Added case insensitive dictionary search (onion_dict_iget) and use it…

    davidmoreno committed Mar 23, 2012
    … at header check at onion_request_get_header.
    Modified tests to check the scenario of when headers are not no 'standard' case.
  2. Fixed some compilation problems with release mode.

    davidmoreno committed Mar 23, 2012
    Compile all in-one library (which should be faster), temporally disabled.
  3. Fixed bug at connection time that could lead to exhausting connection…

    davidmoreno committed Mar 23, 2012
    …s and threads.
    There was no timeout for gnuTLS, and listenfd was not cleared when gnuTLS connections failed.
Commits on Mar 20, 2012
  1. In release mode it compiles all in a single source file, so that comp…

    davidmoreno committed Mar 20, 2012
    …iler optimization can behave better (more inlining, for example).
  2. Fixed some tests, added onion_request_polish.

    davidmoreno committed Mar 20, 2012
    Now headers might be larger so test about buffer overrun now sends larger test.
    Also as now the req->path field is not filled until the last moment the test relying on it failed; now
    a new function onion_request_polish do the polishing.
  3. Fixed SIGPIPE when using self-signed certificate and fail on firefox.

    davidmoreno committed Mar 20, 2012
    Just moved the signal handling before the SSL session management.
Commits on Mar 13, 2012
  1. Better management of sessions. Increased minimum size of headers to a…

    davidmoreno committed Mar 13, 2012
    …llow bigger cookies.
    Sessions are not created if empty and a message is shown if headers are sent before manipulating session, as
    it may imply not sending the proper Set-Cookie.
    Added tests.
  2. Fixes to make it compile properly on ARM/GCC 4.2; poller uses a two s…

    davidmoreno committed Mar 13, 2012
    …tep CLOEXEC, as it does not exist on older linux versions.
    Also fixed some compilation issues when otemplate not included.
Commits on Mar 5, 2012
  1. Fixed several bugs about server usage and threads and HTTPS.

    davidmoreno committed Mar 5, 2012
    Fixed the tests so the problems will not appear again, on when using pool mode and cancelling the listens, and when accessing to a https port and handshake fails.
Commits on Feb 29, 2012
  1. Fixed bug about connecting in O_THREADED | O_DETACHED, https, and ask…

    davidmoreno committed Feb 29, 2012
    …ing forsimple http (https failure). Added tests.
Commits on Feb 11, 2012
  1. Fixed some bugs on poller mode at shutdown from another thread.

    davidmoreno committed Feb 11, 2012
    Test also test for pool mode, but fails.
  2. Fixed some stopping conditions not being met on ONE and ONO_LOOP list…

    davidmoreno committed Feb 11, 2012
    …en modes.
    A test is made too for epoll mode, but still fails.
Commits on Feb 7, 2012
Commits on Feb 2, 2012