]> www.dolda2000.com Git - ashd.git/blobdiff - src/plaintcp.c
Added a response function for standard redirection.
[ashd.git] / src / plaintcp.c
index 03da05594b60af6d2a4a798c7d7006526cdee116..d1d596962b61182298047b4e9c12eb99df3c9257 100644 (file)
@@ -107,6 +107,7 @@ static int initreq(struct conn *conn, struct hthead *req)
        headappheader(req, "X-Ash-Port", sprintf3("%i", ntohs(((struct sockaddr_in6 *)&tcp->name)->sin6_port)));
     }
     headappheader(req, "X-Ash-Server-Port", sprintf3("%i", tcp->port->sport));
+    headappheader(req, "X-Ash-Protocol", "http");
     return(0);
 }