I programmed a web proxy in C and the pages seem to load fine. The only problem is images don't load up. I see all the requests for the images and see the data transmitted. When the messages are written to the browser, they don't show up. Anyone have an idea why this would be? What I'm confused on is do images have to be handled differently than the regular html text?
I'm reading everything from the web server(eg Google) into a char buffer of 2048 and write to the browser. This loops until there is nothing more to read. Like I said, the webproxy shows that there is information transferred, but I just get the red x.
I'm happy that he's helping Africa, and would like him to continue to do so. However, I'd like him to distribute his wealth more broadly and also help people in the countries that actually made him wealthy.
If this doesn't become the year of the Linux desktop, then it will never come. They already wasted the Windows Vista fiasco, the Windows 8 fiasco, let's see what will happen now.
Linux is the way to go, so many distributers with great offerings, no more bloatware with Windows 11, the Linux operating system boots much more quickly with much lower CPU requirements, why wouldn't you if you only need a great browsers to access online services.
Question
minhaferzz
I programmed a web proxy in C and the pages seem to load fine. The only problem is images don't load up. I see all the requests for the images and see the data transmitted. When the messages are written to the browser, they don't show up. Anyone have an idea why this would be? What I'm confused on is do images have to be handled differently than the regular html text?
I'm reading everything from the web server(eg Google) into a char buffer of 2048 and write to the browser. This loops until there is nothing more to read. Like I said, the webproxy shows that there is information transferred, but I just get the red x.
Link to comment
https://www.neowin.net/forum/topic/397509-c-web-proxy-not-showing-images/Share on other sites
8 answers to this question
Recommended Posts