remove FILE protocol-specific checks

Also, convert the BANPROXY flag into NONETWORK for the protocols
(file:// only atm) that don't work over networks.
This commit is contained in:
Daniel Stenberg 2011-05-05 15:14:19 +02:00
parent 4508ea103f
commit 51075a6777
3 changed files with 7 additions and 8 deletions

View file

@ -129,7 +129,7 @@ const struct Curl_handler Curl_handler_file = {
ZERO_NULL, /* disconnect */
0, /* defport */
CURLPROTO_FILE, /* protocol */
PROTOPT_BANPROXY /* flags */
PROTOPT_NONETWORK /* flags */
};