From: Dean M. C. B. <dmb...@fr...> - 2008-07-02 02:15:49
|
Thanks Divye, I'll go take a look when I get the time. I think it would be worth checking whether Windows is sending/receiving the file in wide character mode. -- Dean Michael Berris Software Engineer, Friendster, Inc. > -----Original Message----- > From: cpp...@li... > [mailto:cpp...@li...] On > Behalf Of Divye Kapoor > Sent: Wednesday, July 02, 2008 8:19 AM > To: C++ Networking Library Developers Mailing List > Subject: [cpp-netlib-devel] [commit] Patch for header and > body processing inhttp::client > > Hi, > I've removed the extra \r being inserted with every http header and > ensured proper newline processing for the body of the message. The > only problem I'm facing is that on Windows/MSVC the actual size of a > text file and the size of the transferred content don't match whereas > the binary file transfer is perfect. (look at the text_file_query > test) I have not been able to trace the reason for this. Is the error > in my test code or in the implementation of http::client? Strangely, > the same test succeeds on linux. Is it some line ending issue? > > Now, all the tests should run automatically (nearly) on both linux and > windows. If you face any issues, please mail! > > Divye Kapoor > > > -- > Whether the chicken crossed the road or the road moved beneath the > chicken depends upon your frame of reference. > My official web site: http://people.iitr.ernet.in/shp/061305/ > > -------------------------------------------------------------- > ----------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Cpp-netlib-devel mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel > |