Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use malloc+memcpy rather than calloc+strcpy in rs_strdup. | Linus Nordberg | 2013-05-10 | 1 | -5/+9 |
| | | | | | | | For effiency (but triggered by calloc needing unistd.h on Darwin). Conflicts: lib/util.c | ||||
* | Revamping for listeners. | Linus Nordberg | 2013-03-01 | 1 | -4/+5 |
| | | | | | | | | | | | | | | Split rs_connection into rs_baseconn plus rs_connection and rs_listener. Connections now has a state variable. Connect buffer event and fd of _source_ connection, not that of conn->active_peer. The connection object referred to by a peer is not meant for using as a connection, only for reporting errors on. Make sure things are sane even when not using a config file. Bump library interface version to 1.0.0 since it's changed. | ||||
* | Rename COPYING -> LICENSE. | Linus Nordberg | 2012-12-19 | 1 | -1/+1 |
| | | | | And distribute LICENSE and HACKING. | ||||
* | Add util.h and util.c. | Linus Nordberg | 2012-04-26 | 1 | -0/+19 |