Don't guess, James, you'll be wrong! They're nearly identical.
... To avoid confusion, I pulled all the versions [of the Apache 2.2.x adaptor] I could find and compared them. The bottom line is that the differences between them are all quite minor. Here is a summary of my findings:
"Wonder 5" Adaptors
wonder-5.0.0.7992 (latest from mdimension) differs from Apple's WebObjects 5.4 in:
"apache.conf"
(a) Apple's refers to some files at "System/Library/..." and
(b) note also in Apple's a different default location for the /tmp/logWebObjects adaptor logging
# Note: To enable logging, touch '/tmp/logWebObjects' as the administrator user (usually root).
#
# The following line is the default:
# WebObjectsLog /Library/WebObjects/Logs/WebObjects.log Debug
- - - - - - - - -
Apple's transport.c has a chunk of code starting
/*
Do not hold the lock while
we make the connection -- it could block
for 3 seconds (depends on config) and take
the lock with it
read out all the data we need from the instance
while we still hold the lock
*/
- - - - - - - - -
Apple's WebObjects.c differs in this code, more elaborate than Wonder:
#ifndef PROFILE
fputs(CRLF,stdout);
#endif
#ifndef PROFILE
/* resp->content_valid will be 0 for HEAD requests and empty responses */
if (resp->content_valid) {
while (resp->content_read < resp->content_length) {
fwrite(resp->content,sizeof(char),resp->content_valid,stdout);
resp_getResponseContent(resp, 1);
}
fwrite(resp->content,sizeof(char),resp->content_valid,stdout);
}
fflush(stdout);
#endif
... but NOTE that the two conditionally compiled sections could be one (true for
Wonder too). Also the Wonder version does a "fflush(stdout)" in the first conditional
which Apple does not.
- - - - - - - - -
and Wonder's are still "Copyright (c) 2000 Apple Computer, Inc. All Rights Reserved."