- We no longer support setting the CURLOPT_URL option from inside a callback

such as the CURLOPT_SSL_CTX_FUNCTION one treat that as if it was a Location:
  following. The patch that introduced this feature was done for 7.11.0, but
  this code and functionality has been broken since about 7.15.4 (March 2006)
  with the introduction of non-blocking OpenSSL "connects".

  It was a hack to begin with and since it doesn't work and hasn't worked
  correctly for a long time and nobody has even noticed, I consider it a very
  suitable subject for plain removal. And so it was done.
This commit is contained in:
Daniel Stenberg
2008-02-20 08:28:02 +00:00
parent f9a6062081
commit 55700cb01f
11 changed files with 43 additions and 501 deletions

View File

@@ -19,7 +19,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test505 test74 test75 test76 test77 test78 test147 test148 test506 test79 \
test80 test81 test82 test83 test84 test85 test86 test87 test507 test149 \
test88 test89 test90 test508 test91 test92 test203 test93 test94 test95 \
test509 test510 test97 test98 test99 test150 test151 test152 test153 \
test510 test97 test98 test99 test150 test151 test152 test153 \
test154 test155 test156 test157 test158 test159 test511 test160 test161 \
test162 test163 test164 test512 test165 test166 test167 test168 test169 \
test170 test171 test172 test204 test205 test173 test174 test175 test176 \

View File

@@ -1,64 +0,0 @@
<testcase>
<info>
<keywords>
HTTPS
HTTP GET
</keywords>
</info>
#
# Server-side
<reply>
<data>
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Content-length:6
Hello
</data>
<datacheck>
Hello
</datacheck>
</reply>
#
# Client-side
<client>
<server>
https
</server>
<features>
SSL
OpenSSL
</features>
<tool>
lib509
</tool>
<name>
simple HTTPS GET and URL redirect in certificate
</name>
<command>
https://%HOSTIP:%HTTPSPORT/dvcs %HTTPSPORT
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<strip>
^User-Agent:.*
</strip>
<protocol>
GET /509 HTTP/1.1
Host: %HOSTIP:%HTTPSPORT
Accept: */*
</protocol>
# valgrind detects numerous problems in OpenSSL for this test case, disable
# the valgrind logfile scan
<valgrind>
disable
</valgrind>
</verify>
</testcase>