fix-host-header-contents--introduce-canonical-hostname-api.patch
authorAndy Green <andy@warmcat.com>
Fri, 28 Jan 2011 10:00:18 +0000 (10:00 +0000)
committerAndy Green <andy@warmcat.com>
Fri, 28 Jan 2011 10:00:18 +0000 (10:00 +0000)
commit2ac5a6fce4afaf88b54b54b0337ef1755baab496
treed97b79966e608e46a483be6057ac3046edf77ddd
parent5b9a4c0d43e78c7b83aa5703ed34291e3456db59
fix-host-header-contents--introduce-canonical-hostname-api.patch

I?aki pointed out the dummy host field used in client test and ping
is not valid http.  This patch changes it to use the actual host
name and adds an api to collect that from the context cheaply.

Reported-by: I?aki Baz Castillo <ibc@aliax.net>
Signed-off-by: Andy Green <andy@warmcat.com>
lib/libwebsockets.c
lib/libwebsockets.h
lib/private-libwebsockets.h
libwebsockets-api-doc.html
test-server/test-client.c
test-server/test-ping.c