HTTP/DNS now working fully asynchronously. HTTP/IP addresses and any

other protocol won't work at the moment.
This commit is contained in:
Michael Brown
2007-01-18 03:39:45 +00:00
parent 0b11733b75
commit dd6d94004f
6 changed files with 72 additions and 164 deletions

View File

@@ -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 */

View File

@@ -1,16 +0,0 @@
#ifndef _USR_FETCH_H
#define _USR_FETCH_H
/**
* @file
*
* Fetch file
*
*/
#include <stdint.h>
#include <gpxe/uaccess.h>
extern int fetch ( const char *uri_string, userptr_t *data, size_t *len );
#endif /* _USR_FETCH_H */