summaryrefslogtreecommitdiff
path: root/lib/conn.c
Commit message (Collapse)AuthorAgeFilesLines
* Improve protocol robustness and invoke user callbacks.Linus Nordberg2011-02-191-5/+46
| | | | | | | | | | | | All aborts are removed, as well as all asserts which aren't programming errors. When an invalid packet is received, the connection is closed, as per draft-ietf-radext-tcp-transport-08 (2.6.4). Use new rs_debug() macro rather than fprintf() for debug printouts. Coding style overhaul.
* Bringing up TLS connections working.Linus Nordberg2010-11-111-1/+6
| | | | | | | NOTE: Clean up of resources not yet sane. Expect resource leakages. NOTE: Most failure cases are not handled properly. With the wind at your back and the sun shining, it might work.
* Move connection related functions to conn.c.Linus Nordberg2010-10-191-0/+141