Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 626871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:27:58+00:00 2026-05-13T19:27:58+00:00

I have a simple proxy source in C++. I’m trying to modify it to

  • 0

I have a simple proxy source in C++. I’m trying to modify it to inject some html content into specific pages. I’v managed to get it working but whenever I inject something, part of the original html gets corrupted. I know for a fact that it’s not my string handling functions because I have it printing out the result before sending and it’s fine. The html is transmitted 1460 bytes at a time and there is a 3 character string followed newline at the top of each chunk and then at the very end there is a newline and a 0;

Example:

fef
some html

co7
some html 

81f
final html
0

Iv been searching and trying to figure out what those three characters represent. Remaining content length hexed? maybe some sort of hash? but I can’t find anything. But I’m guessing they’re the source of the problem. Any help/insight is appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:27:59+00:00Added an answer on May 13, 2026 at 7:27 pm

    Chunked Encoding? See RFC 2616, Section 3.6.1.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Background: I have spun up a simple Proxy thing for my Wcf client based
I'm looking to write a simple proxy server in .NET. Does anyone have any
I have some python module, which has a class ModuleClass and I can't modify
I have a simple webservice that I need to scale up substantially. I'm trying
I am trying to write a simple proxy application on Android in Java to
I am trying to run a simple rmi application. However I've run into unexplainable
I have set up a simple php proxy $proxy = 'tcp://127.0.0.1:8080'; $context = array(
I have configured my apache 2.2 server as a simple forward proxy using mod_proxy
I have written a fairly simple lazy loading proxy class, which I have documented
I have a simple WCF service which accept some data (wsHttpBiding) and returns a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.