]> granicus.if.org Git - curl/commit
HTTP: stop parsing headers when switching to unknown protocols
authorMichael Kaufmann <mail@michael-kaufmann.ch>
Tue, 28 Jun 2016 08:57:30 +0000 (10:57 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 25 Aug 2016 12:49:39 +0000 (14:49 +0200)
commit7bda07b0466a192e082f32d363d1b1ce1881d483
tree1d8dc93fed93978c3a49e9789d08523b867f7d59
parent9cb851e3718a6af4ca7c42de6ff98f929b7d2f49
HTTP: stop parsing headers when switching to unknown protocols

- unknown protocols probably won't send more headers (e.g. WebSocket)
- improved comments and moved them to the correct case statements

Closes #899
lib/http.c