summaryrefslogtreecommitdiffstats
path: root/src/net/tcp
Commit message (Collapse)AuthorAgeFilesLines
...
* iSCSI updated to use data-xfer interface on the socket side (TCP).Michael Brown2007-07-081-330/+379
| | | | SCSI interface not yet implemented.
* Separate the "is data ready" function of xfer_seek() into anMichael Brown2007-07-082-1/+6
| | | | | xfer_window() function, which can return a scalar rather than a boolean.
* Kill off unused request() method in data-xfer interface.Michael Brown2007-07-082-5/+0Star
|
* convert to zallocHolger Lubitz2007-07-061-2/+1Star
|
* convert to zallocHolger Lubitz2007-07-061-2/+1Star
|
* Switch compiler warning on tcp_open() to a #warningMichael Brown2007-07-051-0/+3
|
* Added missing line to set return status code.Michael Brown2007-07-031-0/+1
|
* Add concept of transfer metadata, to be used by UDP in order toMichael Brown2007-06-112-2/+6
| | | | implement sendto()/recvfrom() equivalents.
* Merge branch 'master' into mcb-tcp-xferMichael Brown2007-06-081-26/+1Star
|\
| * Move [v]ssnprintf() from iscsi.c into vsprintf.c; we need themMichael Brown2007-05-311-26/+1Star
| | | | | | | | elsewhere as well.
* | Should call ftp_done() if constructor fails.Michael Brown2007-05-291-0/+1
| |
* | Update HTTP to use data-xfer interface.Michael Brown2007-05-291-217/+254
| |
* | Updated FTP to use data-xfer API.Michael Brown2007-05-281-174/+206
|/
* Allow queries in GET requestsMichael Brown2007-02-011-5/+7
|
* Placeholder for TLS insertionMichael Brown2007-01-311-8/+19
|
* Changed to use the generic stream API.Michael Brown2007-01-313-113/+151
|
* Keep HTTP progress updated, and display a progress indicator during theMichael Brown2007-01-291-0/+4
| | | | download
* Use stdio.h instead of vsprintf.hMichael Brown2007-01-193-3/+3
|
* A working name resolution frameworkMichael Brown2007-01-181-9/+5Star
|
* Presize the download buffer when we see the Content-Length header;Michael Brown2007-01-181-0/+12
| | | | | this saves around 70us per received packet (which is around 50% of the overall packet processing time).
* Reorder functions to more closely reflect the flow of controlMichael Brown2007-01-181-56/+47Star
|
* HTTP/DNS now working fully asynchronously. HTTP/IP addresses and anyMichael Brown2007-01-182-34/+62
| | | | other protocol won't work at the moment.
* Quickly hack in DNS resolution as a proof of conceptMichael Brown2007-01-151-6/+22
|
* Update TFTP and FTP to take the same temporary URI scheme as HTTPMichael Brown2007-01-151-48/+82
|
* Protocol's get() method no longer takes ownership of the URI. HTTP is theMichael Brown2007-01-151-3/+0Star
| | | | | exception rather than the rule; we may as well keep things clean for other protocols.
* Must free http on the error path; nothing else will do itMichael Brown2007-01-151-0/+1
|
* Unmaintained example code is probably worse than useless.Michael Brown2007-01-151-122/+0Star
|
* Gave asynchronous operations approximate POSIX signal semantics. ThisMichael Brown2007-01-154-21/+89
| | | | | | | | | | | 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.
* Fixed HTTPMichael Brown2007-01-121-132/+290
|
* No need to maintain a received byte count; we always fill in sequentialMichael Brown2007-01-121-5/+1Star
| | | | order so we can just use buffer->fill.
* Change FTP to use a data buffer rather than a callback function.Michael Brown2007-01-111-14/+27
|
* We can't assert that the RX engine is idle in iscsi_done(), because itMichael Brown2007-01-091-2/+0Star
| | | | | | | | may be called during the RX data processor, before the RX engine transitions back to idle. It doesn't really matter if the RX engine isn't idle when iscsi_done() is called, because it will just pick up where it left off on the next call. (The same is not true for the TX engine, so keep the TX engine assertion.)
* Use debug auto-colourisation.Michael Brown2007-01-091-42/+47
|
* Clean up connection closing and permanent failure logic.Michael Brown2007-01-091-32/+62
|
* Use autocolourisationMichael Brown2006-12-291-10/+13
|
* Merge changes from mcb-tcp-fixes branch.Michael Brown2006-12-284-180/+157Star
|
* Ensure that old TCP connection state is destroyed before attempting toMichael Brown2006-12-221-0/+5
| | | | | reopen connection. (The TCP API will soon change to render this step unnecessary.)
* Cannot immediately overwrite the peer address when we parseMichael Brown2006-12-221-3/+8
| | | | | TargetAddress from the login response, because we still need the old address while we close the connection!
* Avoid null pointer dereferences when no username/password specified.Michael Brown2006-12-211-3/+6
|
* When login fails, leave the session open but not in full featureMichael Brown2006-12-211-4/+15
| | | | | | phase. In iscsi_issue(), detect this state and immediately refuse the operation. This avoids trying multiple logins when scsi.c tries several times to read the drive capacity.
* Add ability to shut down iSCSI connectionMichael Brown2006-12-211-22/+25
|
* A cleaner method of handling login redirection; just use the existingMichael Brown2006-12-061-2/+5
| | | | | reconnection mechanism. This avoids the problems of trying to reuse the TCP connection structure before the old connection has cleanly exited.
* Tweaked retry messagesMichael Brown2006-12-061-1/+2
|
* Added debug messagesMichael Brown2006-12-051-0/+34
|
* Update ftp.c to work with Nikhil's TCP stack.Michael Brown2006-12-051-18/+43
| | | | Remove the now-totally-obsolete sockaddr_in field from tcp.h.
* Handle TargetAddressMichael Brown2006-12-051-0/+30
|
* Handle strings as complete units, instead of a byte at a time.Michael Brown2006-12-051-137/+74Star
|
* Add iscsi_rx_buffered_data() and supporting infrastructure.Michael Brown2006-12-051-24/+81
|
* Updated to use asynchronous operation model for iSCSI requestsMichael Brown2006-11-281-77/+413
| | | | Added CHAP authentication
* Split login into security negotation and operational parameterMichael Brown2006-10-031-25/+50
| | | | negotiation phases, to allow inclusion of CHAP authentication.