Hi,

I have been getting my feet wet last night with my first C module and
of course running into some trouble.

As you can see, I set some headers in what seems like a perfectly
reasonable way, but the HTTP response looks like:

GET / HTTP/1.0

HTTP/1.0 200 OK
1.0: Bar
Cookie: Foo
MIME-Version: 1.0
Date: Thu, 30 Jun 2005 05:45:30 GMT
Server: AOLserver/4.0.10
Content-Type: text/html; charset=iso-8859-1
Content-Length: 12
Connection: close

Eh?

The first Ns_Log statement (before Ns_SetPut()) outputs "Notice:
foo=bar; path=/", as expected, but the second one, after Ns_SetPut,
just returns "Notice: Foo".

And to add insult to injury, the Ns_Free call throws "alloc: invalid
block: 0x2897f0: 0 80 62" to stdout and crashes the server.

Any help is appreciated!

Cheers,
Bas.




--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Attachment: nscookie.c
Description: Binary data

Reply via email to