kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit e576240e2bc94ddf9e969072a1d9797fa6498487
parent 769c78a6e8448563d77ca12b9c80b65cb552ad99
Author: Joris Vink <joris@coders.se>
Date:   Fri, 27 Nov 2015 16:31:52 +0100

Remove spdy references

Diffstat:
examples/headers/src/headers.c | 4----
examples/ktunnel/src/ktunnel.c | 2+-
2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/examples/headers/src/headers.c b/examples/headers/src/headers.c @@ -11,11 +11,7 @@ page(struct http_request *req) /* * We'll lookup if the X-Custom-Header is given in the request. * If it is we'll set it as a response header as well. - * * The value returned by http_request_header() must be freed. - * - * NOTE: All custom headers you set must be in lower case due to - * the SPDYv3 specification requiring this. */ if (http_request_header(req, "x-custom-header", &custom)) { http_response_header(req, "x-custom-header", custom); diff --git a/examples/ktunnel/src/ktunnel.c b/examples/ktunnel/src/ktunnel.c @@ -42,7 +42,7 @@ open_connection(struct http_request *req) { char *host, *port; - /* Don't want to deal with SPDY connections. */ + /* Make sure its HTTP. */ if (req->owner->proto != CONN_PROTO_HTTP) { http_response(req, HTTP_STATUS_BAD_REQUEST, NULL, 0); return (KORE_RESULT_OK);