Clean up winsock usage.
authorTimothy B. Terriberry <tterribe@xiph.org>
Tue, 8 Jan 2013 15:39:35 +0000 (07:39 -0800)
committerRalph Giles <giles@thaumas.net>
Thu, 28 Feb 2013 02:12:52 +0000 (18:12 -0800)
commit25477092988deb11338abe8002f3ef76afac068c
tree8b07d03deac217ae815389ff90bbc99a0f22a620
parentd75915786f465892f5eadcd93444f51a32b9ad1c
Clean up winsock usage.

This keeps differences which can be cleanly abstracted away clean
 (closesocket, ioctlsocket, getsockopt, setsockopt), and makes
 differences which cannot be cleanly abstracted explicit (SOCKET,
 INVALID_SOCKET, WSAGetLastError/WSASetLastError).
It also gets rid of wsockwrapper.[ch], since it contained just a
 single function.

This can successfully pass the seeking_example tests on
 big.chained.blob over https when built with i686-w64-mingw32 and
 run under wine.
It does not solve the certificate distribution problems with using
 OpenSSL on a real Windows system.
Makefile.am
src/http.c
src/winerrno.h
src/wsockwrapper.c [deleted file]
src/wsockwrapper.h [deleted file]