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.
16 vuotta sitten
Michael Brown
9fd6a0418f
Allowed zero-cost enforced ordering of features in startup banner
list.
Added FEATURE() macros to most relevant (non-driver) files.
17 vuotta sitten
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.
17 vuotta sitten
Michael Brown
ca4c6f9eee
Kill off unused request() method in data-xfer interface.
17 vuotta sitten
Holger Lubitz
7fa85d19b9
convert to zalloc
17 vuotta sitten
Michael Brown
95adce0ce1
Add concept of transfer metadata, to be used by UDP in order to
implement sendto()/recvfrom() equivalents.
17 vuotta sitten
Michael Brown
4ccd1e8198
Should call ftp_done() if constructor fails.
17 vuotta sitten
Michael Brown
0dfd5b84fd
Updated FTP to use data-xfer API.
17 vuotta sitten
Michael Brown
6d32f0e6e2
Changed to use the generic stream API.
17 vuotta sitten
Michael Brown
73b09ecba6
Use stdio.h instead of vsprintf.h
17 vuotta sitten
Michael Brown
dd6d94004f
HTTP/DNS now working fully asynchronously. HTTP/IP addresses and any
other protocol won't work at the moment.
17 vuotta sitten
Michael Brown
df0397f334
Update TFTP and FTP to take the same temporary URI scheme as HTTP
17 vuotta sitten
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.
17 vuotta sitten
Michael Brown
ad22cccc09
No need to maintain a received byte count; we always fill in sequential
order so we can just use buffer->fill.
17 vuotta sitten
Michael Brown
6918cf9e9e
Change FTP to use a data buffer rather than a callback function.
17 vuotta sitten
Michael Brown
83e1340d88
Use autocolourisation
17 vuotta sitten
Michael Brown
61ed298bc7
Merge changes from mcb-tcp-fixes branch.
17 vuotta sitten
Michael Brown
9600af14a3
Added debug messages
17 vuotta sitten
Michael Brown
89bcb57201
Update ftp.c to work with Nikhil's TCP stack.
Remove the now-totally-obsolete sockaddr_in field from tcp.h.
17 vuotta sitten
Michael Brown
3a660f9b25
Update ftp.c and hello.c to use the generic async_operations API.
18 vuotta sitten
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.
18 vuotta sitten
Michael Brown
2462047128
Typo
18 vuotta sitten
Michael Brown
9e1becaf8a
Merge TCP aborted(), timedout() and closed() methods into a single
closed() method with a reason code.
18 vuotta sitten
Michael Brown
8afb6303fb
Half-way tidy
18 vuotta sitten
Michael Brown
04b6a1e004
Make all TCP methods optional; at least FTP data is a read-only
connection and so legitimately ignores acked() and senddata().
18 vuotta sitten
Michael Brown
aec0e127d2
Proof-of-concept FTP implementation
18 vuotta sitten