Roger Dingledine
af494efead
comment the functions in connection_or.c
...
svn:r1818
2004-05-07 08:53:40 +00:00
Roger Dingledine
d64195e310
comment the functions in command.c
...
this is one of the files nick regarded as scary, so hopefully
these will help.
svn:r1817
2004-05-07 08:07:41 +00:00
Roger Dingledine
f7705406f5
forward-port header-length-increase patch
...
svn:r1814
2004-05-06 22:47:48 +00:00
Roger Dingledine
aa768ff825
forward-port built-in dirservers string
...
svn:r1813
2004-05-06 22:47:15 +00:00
Roger Dingledine
94a1beac23
forward-port dirservers file
...
svn:r1812
2004-05-06 22:46:42 +00:00
Nick Mathewson
e529e3e0a3
Fix bug in stream position adjustment
...
svn:r1801
2004-05-06 19:51:50 +00:00
Nick Mathewson
229701023e
Use correct aes-ctr implementation in mainline, too.
...
svn:r1800
2004-05-06 19:41:33 +00:00
Roger Dingledine
91b87732d1
bugfix: add a circ->resolving_streams field, and make dns resolving 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
2004-05-06 11:08:04 +00:00
Nick Mathewson
3a8bfd977d
Document the rest of main.c
...
svn:r1797
2004-05-05 21:35:12 +00:00
Nick Mathewson
d69b6e52f5
Comments for nearly all non-tricky files
...
svn:r1796
2004-05-05 21:32:43 +00:00
Nick Mathewson
0e5efb1363
Use intptr_t when playing with void*s
...
svn:r1795
2004-05-05 20:27:20 +00:00
Nick Mathewson
8db2d045a1
Add intptr_t and uintptr_t to torint.h
...
svn:r1794
2004-05-05 20:26:35 +00:00
Nick Mathewson
c3826d873f
Fix compilation warnings on 64-bit platforms
...
svn:r1793
2004-05-05 20:09:06 +00:00
Nick Mathewson
4bb007f5fe
Never list unapproved servers as recommended
...
svn:r1790
2004-05-05 04:55:00 +00:00
Nick Mathewson
a0f63cde00
More documentation; fix for compilation warning
...
svn:r1789
2004-05-05 02:50:38 +00:00
Nick Mathewson
a057ab9f66
Only connection_add connections once they have conn->s sett; refactor code around this. Should make stuff more bulletproof.
...
svn:r1788
2004-05-05 01:26:57 +00:00
Nick Mathewson
0be65d93bd
Make non-fake tor_poll robust against -1 fds
...
svn:r1787
2004-05-05 01:01:34 +00:00
Roger Dingledine
dc04504676
must close marked connections at the end of run_scheduled_events.
...
otherwise they might have a socket -1, and if we leave them around
they'll muck up poll/select.
i think this was the cause of our win32 and os x fakepoll crashes,
and probably would cause other errors down the road.
svn:r1786
2004-05-05 00:59:42 +00:00
Nick Mathewson
5cb63867ac
More documentation
...
svn:r1785
2004-05-05 00:30:43 +00:00
Roger Dingledine
c2bbd86b9d
accept port 81 by default also, since people have been asking for it
...
svn:r1784
2004-05-04 22:46:19 +00:00
Nick Mathewson
6f518c6d75
Comment router*.c
...
svn:r1783
2004-05-04 18:17:45 +00:00
Nick Mathewson
83cc54ee7d
Fix mac compile
...
svn:r1782
2004-05-04 18:17:28 +00:00
Nick Mathewson
dc0da59e21
tor_assert(), not assert()
...
svn:r1777
2004-05-02 20:27:48 +00:00
Nick Mathewson
5f0d50f802
Fix windows compile.
...
svn:r1776
2004-05-02 20:23:35 +00:00
Nick Mathewson
0360acc799
Working strerror for windows socket errors, plus some snide comments.
...
svn:r1775
2004-05-02 20:18:21 +00:00
Nick Mathewson
f241664499
Assert that we never try to fakepoll on sock -1.
...
svn:r1774
2004-05-02 20:17:43 +00:00
Nick Mathewson
3cae4a2ece
Windows version is 0.0.6 too
...
svn:r1771
2004-05-02 19:29:59 +00:00
Nick Mathewson
582ab843b8
Bump windows version to 0.0.6rc4
...
svn:r1767
2004-05-02 03:38:31 +00:00
Roger Dingledine
c862d043e4
stop the circuit_receive_relay_cell warning
...
mark the circ for close if circuit_extend fails because the next
hop is not up yet; don't just return -1
svn:r1765
2004-05-02 03:32:00 +00:00
Roger Dingledine
29f4aff550
patches on patches
...
svn:r1763
2004-05-02 03:15:55 +00:00
Roger Dingledine
424d1d0f0c
some patches on the patches
...
svn:r1761
2004-05-01 23:29:20 +00:00
Nick Mathewson
3d68366369
Documenmt buffers.c; remove function that nobody ever calls.
...
svn:r1760
2004-05-01 22:08:43 +00:00
Nick Mathewson
41dfd5c77e
Remove bogus */ so util.c compiles
...
svn:r1759
2004-05-01 21:50:53 +00:00
Nick Mathewson
e796693da7
Finish documenting the functions in common
...
svn:r1758
2004-05-01 21:41:23 +00:00
Nick Mathewson
48fff46d26
Fix windows compile
...
svn:r1757
2004-05-01 20:55:31 +00:00
Nick Mathewson
6ddafdc332
Handle windows socket errors correctly; comment most of common.
...
svn:r1756
2004-05-01 20:46:28 +00:00
Roger Dingledine
5c1f89ff5b
fix a seg fault (whoops)
...
svn:r1755
2004-04-30 16:35:48 +00:00
Roger Dingledine
13f943434f
note another bug to be fixed sometime
...
svn:r1754
2004-04-30 05:42:52 +00:00
Roger Dingledine
65d8a4f7af
update the built-in dirservers default
...
svn:r1750
2004-04-29 08:10:13 +00:00
Roger Dingledine
f251c1ffcc
some cosmetic fixes
...
svn:r1747
2004-04-29 02:52:49 +00:00
Nick Mathewson
079b967ee1
Oops -- the Windows function is closesocket, not socketclose
...
svn:r1746
2004-04-28 21:17:42 +00:00
Nick Mathewson
b7fa6385a4
Use socketclose on windows as appropriate; end pid files with newline
...
svn:r1745
2004-04-28 21:14:56 +00:00
Roger Dingledine
4049ee558d
use tor_lookup_hostname for binding local addresses too
...
svn:r1744
2004-04-28 20:57:03 +00:00
Nick Mathewson
d52c8188d8
Regenerate windows orconfig.h to match current autoheader generated orconfig.h
...
svn:r1743
2004-04-28 20:43:30 +00:00
Nick Mathewson
675cc3149c
Remove IVs from cipher code, since AES-ctr has none.
...
svn:r1742
2004-04-28 20:31:32 +00:00
Roger Dingledine
7a68467b1d
use nick's _ARRAYSIZE abstraction
...
svn:r1741
2004-04-28 20:22:37 +00:00
Roger Dingledine
8416dc33ce
nick, is this what you meant?
...
svn:r1740
2004-04-28 20:18:22 +00:00
Nick Mathewson
b36cb2fd9d
Make Tor build on win32 with VC6 without warnings.
...
svn:r1739
2004-04-28 20:13:21 +00:00
Roger Dingledine
80250bbb67
bug resolved (hopefully), so remove comment
...
svn:r1738
2004-04-28 20:12:44 +00:00
Roger Dingledine
798a9f5c79
clean dns.c better
...
svn:r1737
2004-04-28 20:11:37 +00:00