curl-library
Re: HTTP 2.0 and GFE/2.0
Date: Mon, 31 Mar 2014 15:50:57 +0200
"Daniel Stenberg" <daniel_at_haxx.se> wrote:
> I don't even know if PolarSSL supports those TLS extensions.
I don't think so.
> You using a recent nghttp2? (I'm at v0.3.1-182-g8ccb6e4 right now, the current
> git HEAD)
I built with NgHttp2 from today. But AFAICS, google is doing it right. The UTF-8
("ASCII garbage") is in response to libcurl's encoding. Isn't it? Here is what I get
back at the Winsock level:
* 849.550 msec: g:/mingw32/src/inet/curl/lib/sendf.c(319) (Curl_recv_plain+37):
recv (1500, 0x00B525FC, 16384, 0) --> 1592 bytes.
0000: 48 54 54 50 2F 31 2E 31 20 34 30 30 20 42 61 64 HTTP/1.1 400 Bad
0010: 20 52 65 71 75 65 73 74 0D 0A 43 6F 6E 74 65 6E Request..Conten
0020: 74 2D 54 79 70 65 3A 20 74 65 78 74 2F 68 74 6D t-Type: text/htm
0030: 6C 3B 20 63 68 61 72 73 65 74 3D 55 54 46 2D 38 l; charset=UTF-8
0040: 0D 0A 43 6F 6E 74 65 6E 74 2D 4C 65 6E 67 74 68 ..Content-Length
0050: 3A 20 31 34 31 39 0D 0A 44 61 74 65 3A 20 4D 6F : 1419..Date: Mo
...
05B0: 3C 62 3E 34 30 30 2E 3C 2F 62 3E 20 3C 69 6E 73 <b>400.</b> <ins
05C0: 3E 54 68 61 74 E2 80 99 73 20 61 6E 20 65 72 72 >ThatOCOs an err
05D0: 6F 72 2E 3C 2F 69 6E 73 3E 0A 20 20 3C 70 3E 59 or.</ins>. <p>Y
05E0: 6F 75 72 20 63 6C 69 65 6E 74 20 68 61 73 20 69 our client has i
05F0: 73 73 75 65 64 20 61 20 6D 61 6C 66 6F 72 6D 65 ssued a malforme
0600: 64 20 6F 72 20 69 6C 6C 65 67 61 6C 20 72 65 71 d or illegal req
0610: 75 65 73 74 2E 20 20 3C 69 6E 73 3E 54 68 61 74 uest. <ins>That
0620: E2 80 99 73 20 61 6C 6C 20 77 65 20 6B 6E 6F 77 OCOs all we know
0630: 2E 3C 2F 69 6E 73 3E 0A .</ins>.
---- Traced with my Winsock tracing lib linked to libcurl.dll. --gv ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2014-03-31