aboutsummaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
Commit message (Collapse)AuthorAge
* Make Tor compile with no warnings with gcc4.0 on OSXNick Mathewson2005-05-07
| | | | svn:r4184
* Call tor_free_all instead of connections_free_all after forkingNick Mathewson2005-05-03
| | | | svn:r4173
* New and frightening code to implement fast-path first-hop CREATE_FAST cells. ↵Nick Mathewson2005-05-02
| | | | | | Watch out when we bump the version to 0.1.0.6-rc! svn:r4162
* only complain about wedged cpuworkers after an hour, not 100 secsRoger Dingledine2005-04-23
| | | | svn:r4100
* If it has not been 100 seconds since we told the cpuworker about an onion, ↵Nick Mathewson2005-04-08
| | | | | | complain! Oh, wait... svn:r4059
* add function commentRoger Dingledine2005-04-07
| | | | svn:r4043
* We have a bug that I can't find. Sometimes, very rarely, cpuworkers getRoger Dingledine2005-04-07
| | | | | | | | | stuck in the 'busy' state, even though the cpuworker process thinks of itself as idle. I don't know why. But here's a workaround to kill any cpuworker that's been busy for more than 100 seconds. svn:r4042
* fix an assert trigger: when we have the rare case of acceptingRoger Dingledine2005-04-06
| | | | | | | | a conn on 0.0.0.0:0, then when we look through the connection array, we'll find any of the workers. this is no good. svn:r4027
* Hopefully, this will make ORs much faster, and not break them: keep a big ↵Nick Mathewson2005-04-06
| | | | | | splay tree of (circid,orconn)->circuit mappings to make circuit_get_by_circid_conn much faster. svn:r4020
* Make last fix work on windows too.Nick Mathewson2005-04-04
| | | | svn:r4009
* Fix possible bug on threading platforms with running out of fds do to ↵Nick Mathewson2005-04-04
| | | | | | cpuworkers and dnsworkers. svn:r4008
* update copyright notices.Nick Mathewson2005-04-01
| | | | svn:r3982
* Change from inet_ntoa to a threadproof tor_inet_ntoa.Nick Mathewson2005-02-22
| | | | svn:r3656
* forward-port the shutting upRoger Dingledine2005-01-28
| | | | svn:r3450
* Handle unavailable hidden services better. We try each intro pointRoger Dingledine2005-01-19
| | | | | | | | | | until none are left, then we try to refetch the descriptor. If it's the same one we had before, then close streams right then. Whenever a new stream arrives, even if it's right after, optimistically try refetching the descriptor, just in case. svn:r3379
* Give more useful log messages when the tor process closes dns/cpuworker ↵Nick Mathewson2005-01-19
| | | | | | connections. "Error: Success!" makes us seem like crazy people." svn:r3373
* More work on task #43: fix race conditions on multithreaded (win32) servers.Nick Mathewson2005-01-03
| | | | svn:r3251
* Possible fix for task #43: when running on a multithreaded environment ↵Nick Mathewson2005-01-03
| | | | | | (currently only windows), threads should not close opposite sides of their socketpairs, and workers should not call connection_free_all(). This may fix win32 servers. svn:r3247
* More win32 fixes: 1) tolerate extra "readable" events better. 2) when being ↵Nick Mathewson2004-12-06
| | | | | | multithreaded, leave parent fdarray open. svn:r3092
* Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson2004-11-29
| | | | | | every file. svn:r3019
* wrong is ok, and right is fine, but in between is apparentlyRoger Dingledine2004-11-28
| | | | | | | totally unacceptable to me. svn:r3005
* Normalize space: add one between every control keyword and control clause.Nick Mathewson2004-11-28
| | | | svn:r3003
* remove emacs droppings, since nick says he doesn't need them anymoreRoger Dingledine2004-11-26
| | | | svn:r2989
* break reached_eof() out of process_inbuf()Roger Dingledine2004-11-21
| | | | svn:r2930
* minor fixesRoger Dingledine2004-11-16
| | | | svn:r2901
* Resolve a bunch of FIXME items; mark a lot more for attention; ask for ↵Nick Mathewson2004-11-12
| | | | | | clarification on some. Turn all XXXX008 ("showstopper for 0.0.8 release") items into XXXX009 or XXXX, since plainly they were not showstoppers for 0.0.8. Add/clean some docs. svn:r2808
* Clean up copyrights.Roger Dingledine2004-11-07
| | | | | | | | Break connection_consider_empty_buckets() out of connection_read_bucket_decrement(). svn:r2698
* Make options no longer a global variable.Roger Dingledine2004-11-06
| | | | | | | | | Now we can try setting an option but back out if it fails to parse, or if it's disallowed (e.g. changing RunAsDaemon from 1 to 0). Use parse_line_from_str rather than parse_line_from_file. svn:r2692
* start the process of making 0.0.7* obsoleteRoger Dingledine2004-10-17
| | | | svn:r2565
* don't assert multiple things in the same tor_assert()Roger Dingledine2004-10-16
| | | | svn:r2544
* let children survive sigint, sigterm, etc.Roger Dingledine2004-08-08
| | | | | | | | this was biting us because ^c would get delivered to all of them, maybe because they were all still listening to stdin? svn:r2197
* stop using atexit() to remove our pid, since it's calledRoger Dingledine2004-07-22
| | | | | | | | | immediately when we daemonize. also drop our retry period for hidserv desc uploads from 10m to 5m svn:r2111
* Revert cpuworker to use addr/portNick Mathewson2004-07-16
| | | | svn:r2049
* Finish most pre2 items: make running-routers list work right; rename secret ↵Nick Mathewson2004-07-13
| | | | | | key files; make even more lookup-by-nickname use lookup-by-id; default nicknames to hostname. svn:r2043
* Switch most uses of *_by_addr_port to *_by_identity_digestNick Mathewson2004-07-01
| | | | svn:r1997
* Make tor build on win32 again; handle locking for serverNick Mathewson2004-06-05
| | | | svn:r1948
* bump an info message down to a debugRoger Dingledine2004-06-03
| | | | svn:r1947
* break connection_edge_end out of connection_mark_for_closeRoger Dingledine2004-05-12
| | | | svn:r1858
* Make some functions staticNick Mathewson2004-05-12
| | | | svn:r1857
* it's amazing what a bit of punctuation can do for appearancesRoger Dingledine2004-05-10
| | | | svn:r1843
* More doxygenation.Nick Mathewson2004-05-10
| | | | svn:r1832
* more doxygen markupRoger Dingledine2004-05-09
| | | | | | | plenty more remains svn:r1824
* bugfix: do directory_send_command only after we've established a socketRoger Dingledine2004-05-09
| | | | | | | also many comments, cleaning, etc svn:r1823
* bugfix: add a circ->resolving_streams field, and make dns resolving ↵Roger Dingledine2004-05-06
| | | | | | | | | | | | streams not actually in the connection_array until they're done resolving. bugfix: actually complain if we duplicate mark-for-close a circuit add more logging for relay ends that claim dns resolve failed, so we can find out why they're not being retried. svn:r1798
* Comments for nearly all non-tricky filesNick Mathewson2004-05-05
| | | | svn:r1796
* Working strerror for windows socket errors, plus some snide comments.Nick Mathewson2004-05-02
| | | | svn:r1775
* Use socketclose on windows as appropriate; end pid files with newlineNick Mathewson2004-04-28
| | | | svn:r1745
* use tor_assertRoger Dingledine2004-04-25
| | | | | | | remove obsolete BUF_OK macro svn:r1697
* log correctly if decoding onion failedRoger Dingledine2004-04-25
| | | | svn:r1690
* Merge flagday into main branch.Nick Mathewson2004-04-24
| | | | svn:r1683