ancruna / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

Unable to update the value of Cache-Control: max-age in mongoose.c #321

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Adding the Cache-Control header to the response.
2. Cache-Control: max-age=31557600 
3. But After compiling when we see the fiddler logs the max-age value is junk, 
instead of the value which we have assigned.

What is the expected output? What do you see instead?
Cache-Control:max-age=31557600 
Instead i am seeing
Cache-Control: max-age=E�P������Dž���u'

What version of the product are you using? On what operating system?
mongoose-2.8.tgz, Linux 135EMS146 2.6.9-89.EL #1

Please provide any additional information below.

Original issue reported on code.google.com by shivakum...@gmail.com on 29 Feb 2012 at 7:44

GoogleCodeExporter commented 9 years ago
Sounds like a bug in your code.
Can you drop a snippet that sets the header please?

Original comment by valenok on 4 Mar 2012 at 5:11

GoogleCodeExporter commented 9 years ago
Closing in the mean time.

Original comment by valenok on 11 Mar 2012 at 10:20