[http] Allow for HTTPS-only builds

Separate out the core HTTP functionality (which is shared by both HTTP
and HTTPS) from the provision of the "http://" URI opener.  This
allows for builds that support only "https://" URIs.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2012-02-28 14:53:28 +00:00
parent 05719804b9
commit 99de239867
3 changed files with 889 additions and 859 deletions

View File

@@ -161,7 +161,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define ERRFILE_nullnet ( ERRFILE_NET | 0x00090000 )
#define ERRFILE_tcp ( ERRFILE_NET | 0x000a0000 )
#define ERRFILE_ftp ( ERRFILE_NET | 0x000b0000 )
#define ERRFILE_http ( ERRFILE_NET | 0x000c0000 )
#define ERRFILE_httpcore ( ERRFILE_NET | 0x000c0000 )
#define ERRFILE_iscsi ( ERRFILE_NET | 0x000d0000 )
#define ERRFILE_tcpip ( ERRFILE_NET | 0x000e0000 )
#define ERRFILE_udp ( ERRFILE_NET | 0x000f0000 )