mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 13:30:57 +03:00
HTTP/DNS now working fully asynchronously. HTTP/IP addresses and any
other protocol won't work at the moment.
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
Reference in New Issue
Block a user