From dd6d94004f2cd33401978a91353f5c352caa1313 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 18 Jan 2007 03:39:45 +0000 Subject: HTTP/DNS now working fully asynchronously. HTTP/IP addresses and any other protocol won't work at the moment. --- src/include/gpxe/http.h | 2 ++ src/include/usr/fetch.h | 16 ---------------- 2 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 src/include/usr/fetch.h (limited to 'src/include') diff --git a/src/include/gpxe/http.h b/src/include/gpxe/http.h index 49922e502..3cfc888a4 100644 --- a/src/include/gpxe/http.h +++ b/src/include/gpxe/http.h @@ -41,6 +41,8 @@ struct http_request { /** HTTP Content-Length */ size_t content_length; + /** Server address */ + struct sockaddr server; /** TCP application for this request */ struct tcp_application tcp; /** Number of bytes already sent */ diff --git a/src/include/usr/fetch.h b/src/include/usr/fetch.h deleted file mode 100644 index 85b856346..000000000 --- a/src/include/usr/fetch.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef _USR_FETCH_H -#define _USR_FETCH_H - -/** - * @file - * - * Fetch file - * - */ - -#include -#include - -extern int fetch ( const char *uri_string, userptr_t *data, size_t *len ); - -#endif /* _USR_FETCH_H */ -- cgit v1.2.3-55-g7522