Bug #965

Error when getting http file

Added by Fábio Ferreira almost 9 years ago. Updated almost 9 years ago.

Status:FixedStart date:04/30/2012
Priority:HighDue date:
Assignee:Andreas Smas% Done:

100%

Category:General
Target version:3.6
Found in version:3.5.176 Platform:Linux

Description

When trying to read or just get the headers of this url: http://embed.5min.com/517332221/&sid=764/ Showtime return error -1, in curl it shows this valid output:

[email protected]:~$ curl -v -X HEAD http://embed.5min.com/517332221/&sid=764/
[1] 11288
[email protected]:~$ * About to connect() to embed.5min.com port 80 (#0)
*   Trying 205.188.27.133... connected
> HEAD /517332221/ HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: embed.5min.com
> Accept: */*
> 
< HTTP/1.1 303 See Other
< Cache-Control: private
< Content-Length: 0
< Content-Type: text/html
< Location: http://cfiles.5min.com/FlexPlayers/SmartPlayer_184.swf?filesPath=http://cfiles.5min.com/&playerVersion=184&sid=281&skey=0&videoID=517332221&messageError=ErrorExposurePermission&ValidAt5min=false&isEmbed=True&bwLogger=2147417071&shareAsReferrer=false&playerActions=17087&endUrl=1&logvCQ=3&logmId=399742648&logvGeo=0&logsKey=0&logvf=0&endUrlLog=1
< Server: Microsoft-IIS/7.5
< Set-Cookie: ASP.NET_SessionId=2xgwja3mrqumxaijce5zgul4; path=/; HttpOnly
< X-AspNet-Version: 4.0.30319
< X-Powered-By: ASP.NET
< X-Server: fmvase-m01 - embed
< Date: Mon, 30 Apr 2012 13:57:02 GMT
< 
* Connection #0 to host embed.5min.com left intact
* Closing connection #0

Associated revisions

Revision fe09e71a
Added by Andreas Smas almost 9 years ago

httpclient: Increase max header len from 1024 to 4096

Fixes #965

Change included in version 3.5.191

History

#1 Updated by Andreas Smas almost 9 years ago

This is a problem because showtime does only allow HTTP headers to be 1024 bytes long.
I'm gonna up that to 4096

#2 Updated by Andreas Smas almost 9 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

#3 Updated by Andreas Smas almost 9 years ago

Fixed in 3.5.191

Also available in: Atom PDF