Michael Brown
f6a8158eed
Make seek information part of the xfer metadata, rather than an entirely
separate xfer method.
Add missing .alloc_iob entries to several xfer_interface_operations
structures.
před 16 roky
Michael Brown
9fd6a0418f
Allowed zero-cost enforced ordering of features in startup banner
list.
Added FEATURE() macros to most relevant (non-driver) files.
před 17 roky
Michael Brown
b34d4d0449
Separate the "is data ready" function of xfer_seek() into an
xfer_window() function, which can return a scalar rather than a
boolean.
před 17 roky
Michael Brown
ca4c6f9eee
Kill off unused request() method in data-xfer interface.
před 17 roky
Holger Lubitz
7fa85d19b9
convert to zalloc
před 17 roky
Michael Brown
95adce0ce1
Add concept of transfer metadata, to be used by UDP in order to
implement sendto()/recvfrom() equivalents.
před 17 roky
Michael Brown
4ccd1e8198
Should call ftp_done() if constructor fails.
před 17 roky
Michael Brown
0dfd5b84fd
Updated FTP to use data-xfer API.
před 17 roky
Michael Brown
6d32f0e6e2
Changed to use the generic stream API.
před 17 roky
Michael Brown
73b09ecba6
Use stdio.h instead of vsprintf.h
před 17 roky
Michael Brown
dd6d94004f
HTTP/DNS now working fully asynchronously. HTTP/IP addresses and any
other protocol won't work at the moment.
před 17 roky
Michael Brown
df0397f334
Update TFTP and FTP to take the same temporary URI scheme as HTTP
před 17 roky
Michael Brown
4e20d73bb5
Gave asynchronous operations approximate POSIX signal semantics. This
will enable us to cascade async operations, which is necessary in order to
properly support DNS. (For example, an HTTP request may have to redirect
to a new location and will have to perform a new DNS lookup, so we can't
just rely on doing the name lookup at the time of parsing the initial
URL).
Anything other than HTTP is probably broken right now; I'll fix the others
up asap.
před 17 roky
Michael Brown
ad22cccc09
No need to maintain a received byte count; we always fill in sequential
order so we can just use buffer->fill.
před 17 roky
Michael Brown
6918cf9e9e
Change FTP to use a data buffer rather than a callback function.
před 17 roky
Michael Brown
83e1340d88
Use autocolourisation
před 17 roky
Michael Brown
61ed298bc7
Merge changes from mcb-tcp-fixes branch.
před 17 roky
Michael Brown
9600af14a3
Added debug messages
před 17 roky
Michael Brown
89bcb57201
Update ftp.c to work with Nikhil's TCP stack.
Remove the now-totally-obsolete sockaddr_in field from tcp.h.
před 17 roky
Michael Brown
3a660f9b25
Update ftp.c and hello.c to use the generic async_operations API.
před 18 roky
Michael Brown
8637834031
Made the temporary buffer part of the TCP senddata() API, to ease the
transition away from uIP.
Prepared ipv4.c for transition away from uIP.
před 18 roky
Michael Brown
2462047128
Typo
před 18 roky
Michael Brown
9e1becaf8a
Merge TCP aborted(), timedout() and closed() methods into a single
closed() method with a reason code.
před 18 roky
Michael Brown
8afb6303fb
Half-way tidy
před 18 roky
Michael Brown
04b6a1e004
Make all TCP methods optional; at least FTP data is a read-only
connection and so legitimately ignores acked() and senddata().
před 18 roky
Michael Brown
aec0e127d2
Proof-of-concept FTP implementation
před 18 roky