Drop support for the oldstyle protocol
authorWouter Verhelst <w@uter.be>
Sun, 8 Mar 2015 23:03:52 +0000 (00:03 +0100)
committerWouter Verhelst <w@uter.be>
Sun, 8 Mar 2015 23:18:08 +0000 (00:18 +0100)
commit3694019301fcb5ab05074ea573d5f60f280b2e61
tree8d4d6fcde0598a6f25c74a69011dd857a02d1602
parent2e5106a0e8fcf1450baec91dc3092dfeafd3a636
Drop support for the oldstyle protocol

The newstyle protocol was originally written for NBD 2.9.17, released in
2009. We are 2015 now. People have had over five years to migrate their
setups now.

Additionally, due to the fact that I originally wrote support for the
newstyle protocol in a somewhat confusing way, maintaining that part of
the code has become harder than it needs be. A bug did now appear
because I couldn't read my own code anymore.

While it should, in theory, be possible to just fix the damn code while
still retaining support for the oldstyle protocol, it's easier (and not
too unreasonable) to just drop that instead.

Also fix the test suite so it doesn't try to run tests using the oldstyle
protocol anymore
nbd-client.c
nbd-server.c
tests/run/Makefile.am
tests/run/simple_test