Mercurial > gftp.yaz
comparison lib/https.c @ 415:1ffdbc487a70
2004-3-1 Brian Masney <masneyb@gftp.org>
* lib/ftps.c - set the protocol number to GFTP_FTPS_NUM
* lib/https.c - set the protocol number to GFTP_HTTPS_NUM
* lib/rfc959.c lib/rfc2068.c - remove references to checking for
GFTP_FTP_NUM and GFTP_HTTP_NUM
| author | masneyb |
|---|---|
| date | Tue, 02 Mar 2004 02:29:10 +0000 |
| parents | 13ca1defdc75 |
| children | fbb5a02beddb |
comparison
equal
deleted
inserted
replaced
| 414:e55f3cd03048 | 415:1ffdbc487a70 |
|---|---|
| 71 | 71 |
| 72 if ((ret = gftp_protocols[GFTP_HTTP_NUM].init (request)) < 0) | 72 if ((ret = gftp_protocols[GFTP_HTTP_NUM].init (request)) < 0) |
| 73 return (ret); | 73 return (ret); |
| 74 | 74 |
| 75 params = request->protocol_data; | 75 params = request->protocol_data; |
| 76 request->protonum = GFTP_HTTPS_NUM; | |
| 76 request->init = https_init; | 77 request->init = https_init; |
| 77 request->post_connect = gftp_ssl_session_setup; | 78 request->post_connect = gftp_ssl_session_setup; |
| 78 params->real_read_function = gftp_ssl_read; | 79 params->real_read_function = gftp_ssl_read; |
| 79 request->write_function = gftp_ssl_write; | 80 request->write_function = gftp_ssl_write; |
| 80 request->get_next_file = https_get_next_file; | 81 request->get_next_file = https_get_next_file; |
