Compact input buffer before trying to read instead of after.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 22 May 2011 10:56:51 +0000 (12:56 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 22 May 2011 11:20:44 +0000 (13:20 +0200)
commit90c7fafe594cf6d03c15a072a3d749f3e4d78482
treef42006f72d24039c3e4894ded3a0b44770bf9cbe
parent8de8f1d9e2c2c02d4a14a5506e7d0d914dc328da
Compact input buffer before trying to read instead of after.

Also log an error when the input buffer contains more than MAXBUFSIZE bytes
already, instead of silently claiming the other side closed the connection.
src/meta.c