Go to the source code of this file.
Functions | |
| CURLcode | Curl_telnet (struct connectdata *conn, bool *done) |
| CURLcode | Curl_telnet_done (struct connectdata *conn, CURLcode, bool premature) |
| CURLcode Curl_telnet | ( | struct connectdata * | conn, | |
| bool * | done | |||
| ) |
Definition at line 1091 of file telnet.c.
References TELNET::already_negotiated, asio::buffer(), UrlState::buffer, BUFSIZE, check_telnet_options(), connectdata::created, CURL_IAC, Curl_poll(), Curl_read(), Curl_setup_transfer(), Curl_tvdiff, Curl_tvnow, Curl_write(), CURLE_FAILED_INIT, CURLE_OPERATION_TIMEOUTED, connectdata::data, ERRNO, pollfd::events, failf, FALSE, pollfd::fd, FIRSTSOCKET, infof, init_telnet(), negotiate(), NULL, TELNET::please_negotiate, POLLIN, HandleData::proto, asio::read(), SessionHandle::reqdata, SessionHandle::set, connectdata::sock, SOCKERRNO, ssize_t, SessionHandle::state, HandleData::telnet, telrcv(), UserDefined::timeout, and TRUE.
Referenced by CreateConnection().
| CURLcode Curl_telnet_done | ( | struct connectdata * | conn, | |
| CURLcode | , | |||
| bool | premature | |||
| ) |
Definition at line 1077 of file telnet.c.
References curl_slist_free_all(), CURLE_OK, connectdata::data, free, NULL, HandleData::proto, SessionHandle::reqdata, HandleData::telnet, and TELNET::telnet_vars.
Referenced by CreateConnection().
1.5.6