mirror of
https://github.com/ipxe/ipxe
synced 2026-01-01 09:09:32 +03:00
Changed to use the generic stream API.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <gpxe/tcp.h>
|
||||
#include <gpxe/stream.h>
|
||||
#include <gpxe/async.h>
|
||||
#include <gpxe/linebuf.h>
|
||||
#include <gpxe/uri.h>
|
||||
@@ -43,8 +43,8 @@ struct http_request {
|
||||
|
||||
/** Server address */
|
||||
struct sockaddr server;
|
||||
/** TCP application for this request */
|
||||
struct tcp_application tcp;
|
||||
/** Stream application for this request */
|
||||
struct stream_application stream;
|
||||
/** Number of bytes already sent */
|
||||
size_t tx_offset;
|
||||
/** RX state */
|
||||
|
||||
Reference in New Issue
Block a user