]> granicus.if.org Git - curl/commit
Dima Barsky reported a problem with GnuTLS-enabled libcurl in bug report
authorDaniel Stenberg <daniel@haxx.se>
Sat, 22 Oct 2005 21:05:07 +0000 (21:05 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 22 Oct 2005 21:05:07 +0000 (21:05 +0000)
commitc890149c8c144e6eb226d4ebf1723d203e1859ff
tree3ae091fa33a02be0948835637a288d7afdb5f0fd
parent1a1ab2e2e8abb6618721188109156e5bdda35cdd
  Dima Barsky reported a problem with GnuTLS-enabled libcurl in bug report
  #1334338 (http://curl.haxx.se/bug/view.cgi?id=1334338). When reading an SSL
  stream from a server and the server requests a "rehandshake", the current
  code simply returns this as an error. I have no good way to test this, but
  I've added a crude attempt of dealing with this situation slightly better -
  it makes a blocking handshake if this happens. Done like this because fixing
  this the "proper" way (that would handshake asynchronously) will require
  quite some work and I really need a good way to test this to do such a
  change.
CHANGES
lib/gtls.c