summaryrefslogtreecommitdiff
path: root/src/or/buffers.h
AgeCommit message (Collapse)Author
2012-06-04Update copyright dates to 2012; add a few missing copyright statementsNick Mathewson
2011-07-18Add a generic_buffer_t to use the best buffer type we have on handNick Mathewson
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.)
2011-07-13Merge remote-tracking branch 'public/bug1666'Nick Mathewson
Conflicts: doc/spec/socks-extensions.txt src/or/buffers.c src/or/config.c src/or/connection_edge.c
2011-06-29Record username/password data in socks_request_tNick Mathewson
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.
2011-05-30Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/common/compat.c src/or/main.c
2011-05-23Use a 64-bit type to hold sockets on win64.Nick Mathewson
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.
2011-01-03Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
2011-01-03Bump copyright statements to 2011 (0.2.2)Nick Mathewson
2010-09-27Get zlib compression working with bufferevents.Nick Mathewson
2010-09-27Implement SOCKS-client support for buffereventsNick Mathewson
2010-09-27Fix more remaining users of inbuf/outbuf to handle bufferevents instead.Nick Mathewson
2010-09-27Add a fetch_from_evbuffer_httpNick Mathewson
2010-09-27Refactor SOCKS parsing code to handle evbuffers.Nick Mathewson
Now all of the logic is in a parse_socks() function that gets data from a buf_t or evbuffer-specific wrapper.
2010-09-27Clone fetch_var_cell_from_buf() for evbuffers.Nick Mathewson
2010-08-17Remove unused function declarationsSebastian Hahn
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.
2010-07-27Create buffers.hSebastian Hahn