]> granicus.if.org Git - curl/commit
schannel: Disable ALPN for Wine since it is causing problems
authorJay Satiro <raysatiro@yahoo.com>
Fri, 26 Aug 2016 03:57:56 +0000 (23:57 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Fri, 26 Aug 2016 19:35:16 +0000 (15:35 -0400)
commit895168bfd3d817f7cc5e4b1ee86e2f6007e47a64
tree54036c9a731c59b04cad5c963be69e70bbeff1e5
parent3a5d5de9ef52ebe8ca2bda2165edc1b34c242e54
schannel: Disable ALPN for Wine since it is causing problems

- Disable ALPN on Wine.

- Don't pass input secbuffer when ALPN is disabled.

When ALPN support was added a change was made to pass an input secbuffer
to initialize the context. When ALPN is enabled the buffer contains the
ALPN information, and when it's disabled the buffer is empty. In either
case this input buffer caused problems with Wine and connections would
not complete.

Bug: https://github.com/curl/curl/issues/983
Reported-by: Christian Fillion
lib/urldata.h
lib/vtls/schannel.c