Thread: GZip

  1. #1
    Deprecated Dae's Avatar
    Join Date
    Oct 2004
    Location
    Canada
    Posts
    1,034

    GZip

    Hi,

    I'm having a little trouble figuring out which direction to take. I have an app using Boost::Asio to request https://addons.mozilla.org/en-US/firefox/. I modified the async client example to use SSL. It gathers the headers and content (html) fine (most of the time). So what I have is a stream of encoded data (gzip). I need to decode it. I've tried writing it to a file and using zlib to open it, with no luck. Should I be using OpenSSL functions? Am I using the wrong zlib functions? Is there a more appropriate library? Should I be loading some sort of certificate with Boost::Asio?

    Just wondering if anyone out there has decoded HTTPS with Boost::Asio or otherwise and how to get started.

    Thanks in advance for any info
    Warning: Have doubt in anything I post.

    GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    >> So what I have is a stream of encoded data (gzip).
    What is this stream? Would be a file download under a regular browser?

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Calling system with a string variable
    By 911help in forum C Programming
    Replies: 8
    Last Post: 12-27-2007, 08:32 PM
  2. GZIP Data
    By cx323 in forum C# Programming
    Replies: 1
    Last Post: 06-22-2006, 07:31 AM
  3. How do you read gzip output from 'C' program?
    By brett in forum C Programming
    Replies: 5
    Last Post: 03-13-2006, 12:01 AM
  4. cgi the program on C ++, compressed HTTP. Help
    By Roman S in forum C++ Programming
    Replies: 5
    Last Post: 07-21-2005, 05:19 PM
  5. A Few questions about linux
    By punkrockguy318 in forum Tech Board
    Replies: 8
    Last Post: 01-14-2004, 03:06 PM