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

@@ -7,6 +7,7 @@
#include <gpxe/async.h>
#include <gpxe/buffer.h>
#include <gpxe/uri.h>
#include <gpxe/download.h>
#include <gpxe/ftp.h>
/** @file
@@ -415,3 +416,9 @@ int ftp_get ( struct uri *uri, struct buffer *buffer, struct async *parent ) {
free ( ftp );
return rc;
}
/** HTTP download protocol */
struct download_protocol ftp_download_protocol __download_protocol = {
.name = "ftp",
.start_download = ftp_get,
};