- drop unused `http.h` includes.
- drop unused `http1.h` include.
- drop unused `http2.h` includes.
- vssh/ssh.h: drop unused `vssh.h` include.
- urldata.h: drop unused protocol includes.
- url: include `smtp.h` directly.
- rtsp.h: include directly where used.
- imap, smtp: drop redundant include, move another from .h to .c.
Verified with an all non-unity CI run.
Closes #20093
#include "bufq.h"
#include "curlx/dynbuf.h"
#include "dynhds.h"
-#include "http1.h"
#include "http2.h"
#include "http_proxy.h"
#include "multiif.h"
#include "sendf.h"
#include "curl_trc.h"
-#include "http.h"
#include "content_encoding.h"
#define CONTENT_ENCODING_DEFAULT "identity"
#include "setopt.h"
#include "http_digest.h"
#include "system_win32.h"
-#include "http2.h"
#include "curlx/dynbuf.h"
#include "bufref.h"
#include "altsvc.h"
#include "progress.h"
#include "transfer.h"
#include "escape.h"
-#include "http.h" /* for HTTP proxy tunnel stuff */
#include "ftp.h"
#include "fileinfo.h"
#include "ftplistparser.h"
#include "strdup.h"
#include "altsvc.h"
#include "hsts.h"
+#include "rtsp.h"
#include "ws.h"
#include "bufref.h"
#include "curlx/strparse.h"
#include "curl_setup.h"
#ifdef USE_NGHTTP2
-#include "http.h"
/* value for MAX_CONCURRENT_STREAMS we use until we get an updated setting
from the peer */
#include "curl_trc.h"
#include "sendf.h" /* for the client write stuff */
#include "curlx/dynbuf.h"
-#include "http.h"
#include "multiif.h"
#include "curlx/strparse.h"
#include "progress.h"
#include "transfer.h"
#include "escape.h"
-#include "http.h" /* for HTTP proxy tunnel stuff */
+#include "pingpong.h"
#include "imap.h"
#include "mime.h"
#include "curlx/strparse.h"
*
***************************************************************************/
-#include "pingpong.h"
-#include "curl_sasl.h"
-
extern const struct Curl_handler Curl_handler_imap;
extern const struct Curl_handler Curl_handler_imaps;
#include "progress.h"
#include "transfer.h"
#include "escape.h"
-#include "http.h" /* for HTTP proxy tunnel stuff */
#include "pingpong.h"
#include "pop3.h"
#include "vtls/vtls.h"
#include "cw-pause.h"
#include "multiif.h"
#include "strerror.h"
-#include "http2.h"
#include "progress.h"
#include "vtls/vtls.h"
#include "curl_trc.h"
#include "hostip.h"
-#include "http2.h"
#include "setopt.h"
#include "altsvc.h"
#include "hsts.h"
#include "progress.h"
#include "transfer.h"
#include "escape.h"
-#include "http.h" /* for HTTP proxy tunnel stuff */
+#include "pingpong.h"
#include "mime.h"
#include "smtp.h"
#include "vtls/vtls.h"
*
***************************************************************************/
-#include "pingpong.h"
-#include "curl_sasl.h"
-
extern const struct Curl_handler Curl_handler_smtp;
extern const struct Curl_handler Curl_handler_smtps;
#include "getinfo.h"
#include "multiif.h"
#include "connect.h"
-#include "http2.h"
#include "mime.h"
#include "hsts.h"
#include "setopt.h"
#include "telnet.h"
#include "tftp.h"
#include "http.h"
-#include "http2.h"
#include "file.h"
#include "curl_ldap.h"
#include "vssh/ssh.h"
#include "curl_rtmp.h"
#include "gopher.h"
#include "mqtt.h"
+#include "rtsp.h"
+#include "smtp.h"
#include "ws.h"
#ifdef USE_NGHTTP2
size_t *pnread); /* how much received */
#include "mime.h"
-#include "imap.h"
-#include "smtp.h"
#include "ftp.h"
-#include "file.h"
#include "http.h"
-#include "rtsp.h"
#include "smb.h"
#include "mqtt.h"
#include "ftplistparser.h"
#include "../hostip.h"
#include "../progress.h"
#include "../transfer.h"
-#include "../http.h" /* for HTTP proxy tunnel stuff */
#include "ssh.h"
#include "../url.h"
#include "../cfilters.h"
#include "../hostip.h"
#include "../progress.h"
#include "../transfer.h"
-#include "../http.h" /* for HTTP proxy tunnel stuff */
#include "ssh.h"
#include "../url.h"
#include "../cfilters.h"
#include <libssh/sftp.h>
#endif
-#include "vssh.h"
-
/* meta key for storing protocol meta at easy handle */
#define CURL_META_SSH_EASY "meta:proto:ssh:easy"
/* meta key for storing protocol meta at connection */
#include "unitcheck.h"
#include "urldata.h"
-#include "http.h"
#include "http1.h"
#include "curl_trc.h"