Vlad Seryakov's patch #726288 hasn't been accepted
(yet) into AOLserver. How about a minimally invasive
patch that allows socket driver modules to dummy up
HTTP requests from arbitrary protocols, as suggested on
the mailing list by Jim Davidson?
The main stumbling point here is that unlike HTTP, some
protocols require the server to speak first after the
client connects, to e.g. present a login banner.
I am attaching a patch that adds a new option,
NS_DRIVER_WRITE_FIRST, which socket drivers can OR into
drvPtr->opts. Drivers which do so will then have their
DriverSend function called with 0 as the tosend arg,
when a connection is first made.
With this small patch I've been able to create an
example POP3 -> HTTP protocol mangler...
Logged In: YES
user_id=43168
Has this functionality gone into the Head yet?
Logged In: YES
user_id=43168
Dossy has stated that he personally doesn't like this
implementation, but that if somone else with CVS commit is
willing to sign on to maintain it, he is ok with that person
commiting this code.
Logged In: YES
user_id=21885
You left out the important caveat: whoever commits it must
also agree to fix anything that this implementation breaks.
Basically, be wholly responsible for the effects of
committing this particular implementation.