ruddy32's picture

I need to forward a request to another HTTP server. I need to create a new request from an
existing one. There is no copy constructor or copy operator for HTTPRequest. Which attributes needs to be copied from HTTPRequest and HTTPMessage?

I need to forward the response to the original client. Is the current HTTPResponse copy constructor is enought for such process?

Mike Dickey's picture
We didn't realize that

We didn't realize that assignment/copy construction was not working since we are not using it anywhere. I added a ticket for this:

http://trac.atomiclabs.com/ticket/590

A patch that fixes the problem and adds unit tests is attached to the ticket. It has been checked into trunk (for 2.1.x release) and should work for 2.0.x as well.

Submitted by Mike Dickey on Tue, 05/26/2009 - 14:10.