| Commit message (Expand) | Author | Age |
* | Fix names of functions that convert strings to addrs•••Now let's have "lookup" indicate that there can be a hostname
resolution, and "parse" indicate that there wasn't. Previously, we
had one "lookup" function that did resolution; four "parse" functions,
half of which did resolution; and a "from_str()" function that didn't
do resolution. That's confusing and error-prone!
The code changes in this commit are exactly the result of this perl
script, run under "perl -p -i.bak" :
s/tor_addr_port_parse/tor_addr_port_lookup/g;
s/parse_addr_port(?=[^_])/addr_port_lookup/g;
s/tor_addr_from_str/tor_addr_parse/g;
This patch leaves aton and pton alone: their naming convention and
behavior is is determined by the sockets API.
More renaming may be needed.
| Nick Mathewson | 2011-10-11 |
* | Merge remote-tracking branch 'asn2/bug3656'•••Conflicts:
src/common/util.c
src/common/util.h
src/or/config.h
src/or/main.c
src/test/test_util.c
| Nick Mathewson | 2011-10-07 |
* | Make it compile on Windows™. | George Kadianakis | 2011-10-07 |
* | Support multiple transports in a single transport line.•••Support multiple comma-separated transpotrs in a single
{Client,Server}TransportPlugin line.
| George Kadianakis | 2011-10-07 |
* | Improve wording in some comments and log messages. | George Kadianakis | 2011-09-23 |
* | Put some sense into our logging.•••Transform our logging severities to something more sensible.
Remove sneaky printf()s.
| George Kadianakis | 2011-09-12 |
* | Constification. | George Kadianakis | 2011-09-11 |
* | Make check-spaces happy. | George Kadianakis | 2011-09-11 |
* | Enforce transport names being C identifiers.•••Introduce string_is_C_identifier() and use it to enforce transport
names according to the 180 spec.
| George Kadianakis | 2011-09-11 |
* | Trivial fixes around the code.•••* C90-fy.
* Remove ASN comments.
* Don't smartlist_clear() before smartlist_free().
* Plug a mem. leak.
| George Kadianakis | 2011-09-11 |
* | Allow interwined {Client,Server}TransportPlugin lines. | George Kadianakis | 2011-09-11 |
* | Update the transports.c documentation based on the new data. | George Kadianakis | 2011-09-11 |
* | Update transports.[ch] to support SIGHUPs. | George Kadianakis | 2011-09-11 |
* | Replaced some leftover assert()s with tor_assert()s. | George Kadianakis | 2011-09-10 |
* | Improve the code a tad.•••* Use strcmpstart() instead of strcmp(x,y,strlen(y)).
* Warn the user if the managed proxy failed to launch.
* Improve function documentation.
* Use smartlist_len() instead of n_unconfigured_proxies.
* Split managed_proxy_destroy() to managed_proxy_destroy()
and managed_proxy_destroy_with_transports().
* Constification.
| George Kadianakis | 2011-08-15 |
* | Spawn multiple protocols using a single managed proxy.•••If multiple torrc transport lines have the same argv, tor instructs a
single managed proxy to launch multiple protocols.
| George Kadianakis | 2011-08-12 |
* | Server transport proxies should bind on the same port each time, if possible. | George Kadianakis | 2011-08-07 |
* | Changed a printf() to a log_debug(). | George Kadianakis | 2011-07-18 |
* | Reuse get_string_from_pipe() in log_from_pipe(). | George Kadianakis | 2011-07-18 |
* | Let's be smarter while parsing {Client,Server}TransportPlugin lines. | George Kadianakis | 2011-07-18 |
* | Replaced ST_* enum prefix for stream status with IO_STREAM_*. | George Kadianakis | 2011-07-18 |
* | Updated #includes etc. to use transports.[ch]. | George Kadianakis | 2011-07-18 |
* | Renamed pluggable_transports.[ch] to transports.[ch]. | George Kadianakis | 2011-07-18 |