Dolda2000 GitWeb
/
ashd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Made non-absolute included filenames relative to the containing config file.
[ashd.git]
/
src
/
plaintcp.c
diff --git
a/src/plaintcp.c
b/src/plaintcp.c
index
03da055
..
d1d5969
100644
(file)
--- a/
src/plaintcp.c
+++ b/
src/plaintcp.c
@@
-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);
}