problems with wwwlib 5.0a and Apache 1.2b1 server

With the availability of the beta Apache HTTP 1.1 compliant server, we
were very excited to get started experimenting with the wwwlib and the
corresponding features in a 1.1 server.  We are working on Solaris
2.5.1 and have built the library with gcc 2.7.2.  However, we have had
no success at all getting these two working together.  We were able to
duplicate a scenario with the head example which comes with the
library, for example the command

./head http://ourserver:8080/index.html pofl

The trace messages are of course too voluminous to include, but it
appears that the library wants to recover the transaction and restart
it, even though it appears to have completed successfully.  Here are
some trace messages after the output on a 1.1 server.

[output from head...]
Server: Apache/1.2b1
Connection: Keep-Alive
Keep-Alive: timeout=15, max=5
Content-Type: text/html
Content-Length: 1738

Read Socket. FIN received on socket 5
Event....... No handler registered
Net Object.. Delete 11ea20 and call AFTER filters
Net Object.. Recovering 11ea20
Channel..... Semaphore set to 0 for channel 11cc20
Channel..... Delete 11cc20 with semaphore 0
HTTPStatus.. ABORTING...
Buffer...... ABORTING...
Socket read. FREEING....
Socket write FREEING....
Event....... No handler registered
Net Manager. 0 open sockets
Channel..... Deleted 11cc20, socket 5
Net Manager. 0 persistent sockets
Host info... removed host 11ecb8 as persistent
Host info... Moving 1 Net objects from pipe line to pending queue
Net Object.. Restarting request 11e6e8 (retry=1) with net object 11ea20
Net Object.. Launching 11ea20

... and the whole transaction is launched again.  This happens two
more times before head dumps core in HTTPStatus_put_block (line 651)
when *me->target is an invalid pointer.

For reference, here is the output from the same command, but with the
previous Apache server:

Server: Apache/1.1.1
Connection: Keep-Alive
Keep-Alive: timeout=15, max=5
Content-type: text/html
Content-length: 1738

Read Socket. FIN received on socket 5
Event....... No handler registered
Net Object.. Delete 11ea20 and call AFTER filters
Host info... Remove Net 11ea20 from pipe line
Net Object.. Remove object 11ea20
Event....... No handler registered
Net Object.. closing socket 5
Channel..... Semaphore decreased to 0 for channel 11cc20
Channel..... Delete 11cc20 with semaphore 0
Socket read. FREEING....
Socket write FREEING....
Event....... No handler registered
Net Manager. 0 open sockets
Channel..... Deleted 11cc20, socket 5
Host info... Nothing pending
[...cleanup calls...]

Any assistance would be greatly appreciated.


--
Caleb T. Deupree
cdeupree@erinet.com
;; standard disclaimers apply

Received on Wednesday, 4 December 1996 19:56:43 UTC