Repository navigation
Commit e8bb8cc
committed
ext/ftp/tests: cleanup test server
- Add `with_data_connection` to handle setting up connection to transfer
file data or directory listing over.
- Move accepting passive connection to with_data_connection
- Use fgets instead of fread. FTP is a line-oriented protocol, so fgets is better.
- Remove unused $transfer_type
- Simplify STOR equality check1 parent 758abd5 commit e8bb8cc
1 file changed
Lines changed: 150 additions & 225 deletions
0 commit comments