jgauffin / griffin.networking

Networking library for .NET
http://blog.gauffin.org/2012/05/griffin-networking-a-somewhat-performant-networking-library-for-net/
GNU Lesser General Public License v3.0
108 stars 35 forks source link

No RemoteEndPoint in HTTP request. #7

Closed dr4cul4 closed 11 years ago

dr4cul4 commented 11 years ago

Please fix that.

Class: Griffin.Networking.Protocol.Http.Pipeline.Handlers.HeaderDecoder Method: void HandleUpstream(IPipelineHandlerContext, IPipelineMessage)

After line: var recivedHttpMsg = new ReceivedHttpRequest((IRequest)_message);

Add: ((HttpRequest)recivedHttpMsg.HttpRequest).RemoteEndPoint = msg.RemoteEndPoint as System.Net.IPEndPoint;

This solves issue.

jgauffin commented 11 years ago

fixed in the next commit