aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection.c
Commit message (Collapse)AuthorAge
...
* break part of circuit.c into relay.cRoger Dingledine2004-05-12
| | | | svn:r1854
* Make "connected" a different case from "finished_flushing"; always ↵Nick Mathewson2004-05-12
| | | | | | close_immediate whhen connect() fails. svn:r1852
* it's amazing what a bit of punctuation can do for appearancesRoger Dingledine2004-05-10
| | | | svn:r1843
* more cleanup, including fleshing out or.h moreRoger Dingledine2004-05-10
| | | | svn:r1839
* More doxygenation.Nick Mathewson2004-05-10
| | | | svn:r1832
* give connection.c a skeletal file/brief headerRoger Dingledine2004-05-10
| | | | svn:r1831
* function header comments for connection.c, including doxygen markupRoger Dingledine2004-05-10
| | | | svn:r1825
* 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
* Only connection_add connections once they have conn->s sett; refactor code ↵Nick Mathewson2004-05-05
| | | | | | around this. Should make stuff more bulletproof. svn:r1788
* Working strerror for windows socket errors, plus some snide comments.Nick Mathewson2004-05-02
| | | | svn:r1775
* patches on patchesRoger Dingledine2004-05-02
| | | | svn:r1763
* Documenmt buffers.c; remove function that nobody ever calls.Nick Mathewson2004-05-01
| | | | svn:r1760
* Fix windows compileNick Mathewson2004-05-01
| | | | svn:r1757
* Handle windows socket errors correctly; comment most of common.Nick Mathewson2004-05-01
| | | | svn:r1756
* Use socketclose on windows as appropriate; end pid files with newlineNick Mathewson2004-04-28
| | | | svn:r1745
* use tor_lookup_hostname for binding local addresses tooRoger Dingledine2004-04-28
| | | | svn:r1744
* add a debugging entry, to find the wants-to-read-but-can't bugRoger Dingledine2004-04-26
| | | | svn:r1719
* since we don't support truncateds much, don't bother sending them;Roger Dingledine2004-04-26
| | | | | | | | | just close the circ. (this wasn't relevant before, because we were mis-handling destroys.) svn:r1711
* tell us the nickname of the OR that hung up on usRoger Dingledine2004-04-26
| | | | svn:r1706
* resolve a double-mark-for-close when things die inside connection_handle_writeRoger Dingledine2004-04-25
| | | | svn:r1702
* use tor_assertRoger Dingledine2004-04-25
| | | | | | | remove obsolete BUF_OK macro svn:r1697
* Remove onion_pkey from connection, since onion keys can change more often ↵Nick Mathewson2004-04-25
| | | | | | than connections. Also add more log messages svn:r1693
* log correctly if decoding onion failedRoger Dingledine2004-04-25
| | | | svn:r1690
* Merge flagday into main branch.Nick Mathewson2004-04-24
| | | | svn:r1683
* we added more AP conns, oopsRoger Dingledine2004-04-08
| | | | svn:r1569
* if the rend desc cache entry was fetched more than 15 mins ago,Roger Dingledine2004-04-07
| | | | | | | | then try to fetch a new one. but if the new fetch fails, use the old one. svn:r1540
* Delete trailing whitespace and expand tabs; remove unused aes decrypt codeNick Mathewson2004-04-07
| | | | svn:r1522
* alice can now look up bob's service descriptor,Roger Dingledine2004-04-05
| | | | | | | | | | | | | | | | | choose an intro point, connect to it, choose a rend point, connect to it and establish a cookie, get an ack from the rendezvous point, and know when both circs are ready for her. APConns don't use conn->purpose anymore don't initiate a renddesc lookup if one is already in progress also fix a buffer overflow in nickname parsing (only exploitable by the operator though) svn:r1471
* fix some bugs; more remainRoger Dingledine2004-04-03
| | | | svn:r1450
* Refactor directory serversRoger Dingledine2004-03-30
| | | | | | | | | | | * read all the time (before we would ignore eof sometimes, oops) * we can handle different urls now * send back 404 for an un-handled url * commands initiated by the client can handle payloads now * introduce conn->purpose to avoid exponential state-space explosion svn:r1400
* bugfix: we were closing socks-request connections immediately, ratherRoger Dingledine2004-03-29
| | | | | | | than flushing them, if they were timing out before we marked them svn:r1366
* hold socks reply open until flushed (if possible)Roger Dingledine2004-03-28
| | | | svn:r1356
* work around a tsocks bugRoger Dingledine2004-03-27
| | | | | | | | when an AP connection dies early, be sure to do a socks reject for it. if you just hang up, tsocks goes into an infinite loop. svn:r1352
* fix an assert trigger where an OP would fail to handshake, and we'dRoger Dingledine2004-03-27
| | | | | | | expect it to have a nickname. svn:r1351
* a missing comma could wreak all sorts of havoc.Roger Dingledine2004-03-26
| | | | svn:r1335
* Integrate the new "rephist" [rep(utation) hist(ory)] module to traceNick Mathewson2004-03-20
| | | | | | | | | | | | | | successful/failed connections, successful/failed extends, and connection uptimes. It's still not done: more tests are needed, and not everything calls connection/circuit_mark_for_close properly. This skews the results. Also, there needs to be a 'testing' mode for non-OP ORs, where they periodically build circuits just to test whether extends work. svn:r1313
* bugfix: decrement OR connections from global_bucket tooRoger Dingledine2004-03-14
| | | | | | | | bugfix: don't return immediately for has_pending_tls_data unless the conn is allowed to read svn:r1270
* refactor bandwidth-control token bucketsRoger Dingledine2004-03-14
| | | | | | | | this is a checkpoint commit; there still remain some bugs, er, somewhere. svn:r1269
* get rid of those pesky tabsRoger Dingledine2004-03-12
| | | | svn:r1264
* Make OP work on windows! (Also misc logging tweaks)Nick Mathewson2004-03-11
| | | | svn:r1258
* Fix DOS line endings; autoconfize checks for strptime and inet_atonNick Mathewson2004-03-09
| | | | svn:r1248
* Make tor build on windows again. More work still neededNick Mathewson2004-03-09
| | | | svn:r1247
* stop asserting that computers always go forward in timeRoger Dingledine2004-03-06
| | | | | | | it's simply not true svn:r1236
* Try to find out early if buffers get trashed or double-freed.Nick Mathewson2004-03-03
| | | | svn:r1225
* holding until flush was borkedRoger Dingledine2004-03-03
| | | | | | | | | | we were never writing anything when hold_open_until_flushed was set, since conn_write returns early if marked_for_conn is set. seems a bit better now. svn:r1214
* close immediately when write() fails too, else things will turn badRoger Dingledine2004-03-03
| | | | svn:r1212
* use conn->hold_open_until_flushed for streamsRoger Dingledine2004-03-03
| | | | | | | and also note/fix a variety of other stream-based bugs svn:r1210
* Implement hold_open_until_flushed. I may have missed something important.Nick Mathewson2004-03-03
| | | | svn:r1209
* warn more when losing data on closed/marked connections.Nick Mathewson2004-03-03
| | | | svn:r1203