aboutsummaryrefslogtreecommitdiff
path: root/src/or/buffers.h
Commit message (Collapse)AuthorAge
* Add a generic_buffer_t to use the best buffer type we have on handNick Mathewson2011-07-18
| | | | | Also add a quick function to copy all the data in a buffer. (This one could be done much better, but let's see if it matters.)
* Merge remote-tracking branch 'public/bug1666'Nick Mathewson2011-07-13
|\ | | | | | | | | | | | | | | Conflicts: doc/spec/socks-extensions.txt src/or/buffers.c src/or/config.c src/or/connection_edge.c
| * Record username/password data in socks_request_tNick Mathewson2011-06-29
| | | | | | | | | | | | This change also requires us to add and use a pair of allocator/deallocator functions for socks_request_t, instead of using tor_malloc_zero/tor_free directly.
* | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-05-30
|\ \ | | | | | | | | | | | | | | | Conflicts: src/common/compat.c src/or/main.c
| * | Use a 64-bit type to hold sockets on win64.Nick Mathewson2011-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On win64, sockets are of type UINT_PTR; on win32 they're u_int; elsewhere they're int. The correct windows way to check a socket for being set is to compare it with INVALID_SOCKET; elsewhere you see if it is negative. On Libevent 2, all callbacks take sockets as evutil_socket_t; we've been passing them int. This patch should fix compilation and correctness when built for 64-bit windows. Fixes bug 3270.
* | | Merge remote branch 'origin/maint-0.2.2'Nick Mathewson2011-01-03
|\| | | |/ |/|
| * Bump copyright statements to 2011 (0.2.2)Nick Mathewson2011-01-03
| |
* | Get zlib compression working with bufferevents.Nick Mathewson2010-09-27
| |
* | Implement SOCKS-client support for buffereventsNick Mathewson2010-09-27
| |
* | Fix more remaining users of inbuf/outbuf to handle bufferevents instead.Nick Mathewson2010-09-27
| |
* | Add a fetch_from_evbuffer_httpNick Mathewson2010-09-27
| |
* | Refactor SOCKS parsing code to handle evbuffers.Nick Mathewson2010-09-27
| | | | | | | | | | Now all of the logic is in a parse_socks() function that gets data from a buf_t or evbuffer-specific wrapper.
* | Clone fetch_var_cell_from_buf() for evbuffers.Nick Mathewson2010-09-27
|/
* Remove unused function declarationsSebastian Hahn2010-08-17
| | | | | | Also remove some #if 0'd code from the unit tests for buffers. The code was killed in e6794e58081af773073c266e23fe3ab2ebecdb7e (5 years ago), and is now broken anyways.
* Create buffers.hSebastian Hahn2010-07-27