Ticket UUID: | 481161 | |||
Title: | put/get into channels | |||
Type: | RFE | Version: | None | |
Submitter: | andreas_kupries | Created on: | 2001-11-13 04:30:24 | |
Subsystem: | ftp | Assigned To: | andreas_kupries | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2001-11-20 04:03:45 | |
Resolution: | Closed By: | andreas_kupries | ||
Closed on: | 2001-11-19 21:03:45 | |||
Description: |
The put and get methods currently read from a file or in-memory string, or write to a file or a variable. Both methods should support reading from and writing to a channel too. Both should also be able to give up ownership of such a channel so that it can be driven by someone else instead of only from the inside of the ftp module. | |||
User Comments: |
andreas_kupries added on 2001-11-20 04:03:45:
Logged In: YES user_id=75003 Committed to head. andreas_kupries added on 2001-11-20 03:54:03: File Added - 13552: 481161.diff.2 Logged In: YES user_id=75003 Updated the implementation, bugfixes and an specializedftpd for testing. andreas_kupries added on 2001-11-20 03:51:56: File Added - 13551: test_ftpchan.tcl andreas_kupries added on 2001-11-20 03:51:54: Logged In: YES user_id=75003 Enclosed a test script for the new functionality. Requires the ftp example "ftpd.test", to be submitted as part of the implementation of this FR. andreas_kupries added on 2001-11-17 08:38:37: File Added - 13448: 481161.diff andreas_kupries added on 2001-11-17 08:38:36: Logged In: YES user_id=75003 Enclosed a patch implementing the feature. Exception: Giving up ownership is not implemented. This would require a complete reworking of how the ftp package operates. It is a big sync. statemachine and cannot give up ownership of a channel because this requires jumping out of the SM. IOW, we would have rewrite the thing to be completely async. It might be possible to achieve a similar effect by using special in-memory channels, for example fifo2. |