aboutsummaryrefslogtreecommitdiff
path: root/src/or/buffers.c
Commit message (Collapse)AuthorAge
* stick to nick's nul/null conventionRoger Dingledine2006-07-15
| | | | svn:r6763
* Turn a while into a do/while; save a redundant testNick Mathewson2006-06-24
| | | | svn:r6683
* Resolve control flow warning.Nick Mathewson2006-06-18
| | | | svn:r6658
* Ah. That seems to work.Nick Mathewson2006-06-18
| | | | svn:r6657
* another write_to_buf_zlib fix.Nick Mathewson2006-06-18
| | | | svn:r6656
* Re-enable buffer RAM guard values.Nick Mathewson2006-06-18
| | | | svn:r6653
* Another _zlib fix.Nick Mathewson2006-06-18
| | | | svn:r6652
* Temporarily disable sentinels on buffersNick Mathewson2006-06-18
| | | | svn:r6649
* make zlib buffer function set buf_highwater properlyNick Mathewson2006-06-18
| | | | svn:r6648
* Part of incremental encryption logic for buffers: there is a subtle yucky ↵Nick Mathewson2006-06-18
| | | | | | point documented in a comment. svn:r6637
* complain when we hit wsaenobufs on recv or write too.Roger Dingledine2006-04-08
| | | | | | | perhaps this will help us hunt the bug. svn:r6321
* Implement Jason Holt's SafeSocks config option.Roger Dingledine2006-03-19
| | | | | | | | Also put a URL in the warning message for unsafe socks4 use -- previously we'd only had the URL for unsafe socks5 use. Oops. svn:r6190
* resume being printist: if the hostname contains non-printableRoger Dingledine2006-03-15
| | | | | | | | | | | | characters, then fail. this time don't even bother telling the server operator about these cases, because what's he going to do? if it turns out that some significant population somewhere in the world uses non-printable hostnames and wants to use tor, then i hereby assume that they will contact us. svn:r6171
* Stop being printist: just because our local platform doesn'tRoger Dingledine2006-03-15
| | | | | | | | consider an alleged destination to be printable doesn't mean nobody in the world will want to use it. svn:r6167
* More cleanups noticed by weasel; also, remove macros that nobody uses.Nick Mathewson2006-03-12
| | | | svn:r6143
* Add some functions to escape values from the network before sending them to ↵Nick Mathewson2006-03-05
| | | | | | the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now) svn:r6087
* convert some more source files to the new log conventionRoger Dingledine2006-02-13
| | | | svn:r6002
* Happy new year!Roger Dingledine2006-02-09
| | | | svn:r5949
* Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson2005-12-14
| | | | | | intended. svn:r5582
* when we changed from log_fn to debug/info/notice/warn/err,Roger Dingledine2005-12-10
| | | | | | | | | | | | we screwed up the formatting in wild and unpredictable ways. fix it before it becomes convention to format logs in wild and unpredictable ways. still need to do src/common/ someday. svn:r5551
* In my private little universe, terminals are still 80 columns. Impose a ↵Nick Mathewson2005-12-09
| | | | | | 160-character-per-line limit; this will creep down. svn:r5548
* assert_buf_ok was showing up in the profile; remove it from critical-path ↵Nick Mathewson2005-11-30
| | | | | | functions, since it hasnt triggered for ages. svn:r5479
* Add a new config option TestSocks so people can see if theirRoger Dingledine2005-11-16
| | | | | | | | | applications are using socks4, socks4a, socks5-with-ip, or socks5-with-hostname. This way they don't have to keep mucking with tcpdump and wondering if something got cached somewhere. svn:r5399
* Do round-robin writes of at most 16 kB per write. This mightRoger Dingledine2005-10-29
| | | | | | | | be more fair on loaded Tor servers, and it might resolve our Windows crash bug. It might also slow things down. svn:r5332
* Remove last vestiges of old logging interface.Nick Mathewson2005-10-25
| | | | svn:r5317
* Use LD_BUG as appropriate; convert rend* and router* to new logging ↵Nick Mathewson2005-10-24
| | | | | | interface; use new circ_log_path interface svn:r5302
* Migrate a few more files to domained loggingNick Mathewson2005-10-18
| | | | svn:r5285
* Try to extract as many descriptors as possible from truncated http ↵Nick Mathewson2005-10-14
| | | | | | responses. (when DIR_PURPOSE_FETCH_ROUTERDESC) svn:r5249
* Make doxygen marginally happierNick Mathewson2005-10-06
| | | | svn:r5208
* Never call free() on tor_malloc()d memory. This is unlikely to be our ↵Nick Mathewson2005-09-30
| | | | | | current leak, but it may help dmalloc work. svn:r5168
* Reformat inconsistent function declarations.Nick Mathewson2005-09-30
| | | | svn:r5160
* bugfix: we were whining about using socks4 or socks5-with-local-lookupRoger Dingledine2005-09-24
| | | | | | | | even when they used an IP in the "virtual" range we designed exactly for this case. svn:r5142
* fix a pair of hard-coded urlsRoger Dingledine2005-08-30
| | | | svn:r4887
* Add SOCKSAndDNS link to appropriate log message, since we wind up pointing ↵Nick Mathewson2005-08-04
| | | | | | everybody to it anyway svn:r4695
* Add belt-and-suspenders fix to coredump from yesterday; document more ↵Nick Mathewson2005-07-12
| | | | | | functions in buffers.c svn:r4532
* fix a seg fault with autodetecting which controller version is being usedRoger Dingledine2005-07-12
| | | | svn:r4531
* overall cleanup and streamlining and doccingRoger Dingledine2005-06-20
| | | | | | | also fix a DoS avenue on dirservers svn:r4468
* Implement all the easy bits of the new control protocolNick Mathewson2005-06-17
| | | | svn:r4449
* Start implementing framework for revised control spec.Nick Mathewson2005-06-17
| | | | svn:r4447
* some more cleaning and docingRoger Dingledine2005-06-11
| | | | svn:r4415
* Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵Nick Mathewson2005-06-11
| | | | | | function definition format uniform. svn:r4411
* move more docs into our codeRoger Dingledine2005-06-11
| | | | svn:r4406
* flesh out the source file descriptions for doxygenRoger Dingledine2005-06-11
| | | | svn:r4404
* Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson2005-06-09
| | | | svn:r4382
* fix another underflow in keeping statsRoger Dingledine2005-06-09
| | | | | | | these size_ts are subtle buggers svn:r4364
* Fix an underflow in buffer use conting.Nick Mathewson2005-06-08
| | | | svn:r4360
* Reset buf->highwater every time buf_shrink is called, not just on suffessful ↵Nick Mathewson2005-06-08
| | | | | | shrink. svn:r4353
* Some play code to throw away old buffers sometimes ratherRoger Dingledine2005-06-08
| | | | | | | | than constantly reallocing them; just in case this is our memory problem. It looks for now like it isn't, so disabled. svn:r4349
* Instrument buffers.c and rephist.c memory usageNick Mathewson2005-06-06
| | | | svn:r4317
* first iteration of scrubbing sensitive strings from logs.Roger Dingledine2005-05-03
| | | | | | | also generally clean up log messages. svn:r4174