[Mono-dev] Patch for some classes from System.Runtime.Remoting.Channels.Http namespace

Svetlana Zholkovsky svetlanaz at mainsoft.com
Sun Oct 30 08:15:26 EST 2005

Hi all,
I fixed the HttpRemotingHandlerFactory, HttpRemotingHandler,
HttpServerChannel classes to 
work properly with a WebServer hosting.
The HttpRemotingHandlerFactory should first configure the remoting
infrastructure from the Web.config.
In case of appropriate Http channel is not registered, the
HttpRemotingHandlerFactory should create 
such one and register with ChannelServices.
In the HttpRemotingHandler I added code to remove extra '/' character
from the URI.
I also added the code to send response headers.
The HttpServerChannel should initialize the port field to the value
differ from 0, because it 
requires different handling if the user set port to 0 or not. If the
port is not changed by the user, 
the HttpServerChannel should not start the listener.
In the HttpServerTransportSink.ServiceRequest I handled the case when
exception was thrown during request
dispatching (for example, during deserialization of the message). In
this case the response was not sent at all
and the client was hang.
The HttpClientChannel contains only TARGET_JVM change.

Please, confirm the patches.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: HttpRemotingHandlerFactory.diff
Type: application/octet-stream
Size: 2295 bytes
Desc: HttpRemotingHandlerFactory.diff
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051030/69033fc9/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HttpRemotingHandler.diff
Type: application/octet-stream
Size: 1383 bytes
Desc: HttpRemotingHandler.diff
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051030/69033fc9/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HttpServerChannel.diff
Type: application/octet-stream
Size: 2707 bytes
Desc: HttpServerChannel.diff
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051030/69033fc9/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HttpClientChannel.diff
Type: application/octet-stream
Size: 717 bytes
Desc: HttpClientChannel.diff
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051030/69033fc9/attachment-0003.obj 

More information about the Mono-devel-list mailing list