[Mono-bugs] [Bug 79112][Wis] Changed - HttpListenerRequest.InputStream.Read blocks indefinitively

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Aug 20 16:09:34 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by miguel at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=79112

--- shadow/79112	2006-08-20 12:21:39.000000000 -0400
+++ shadow/79112.tmp.7200	2006-08-20 16:09:34.000000000 -0400
@@ -59,6 +59,55 @@
 4. the delegate uses 'DreamRequest.ReceiveXDoc' to retrieve the request
 5. 'DreamRequest.ReceiveXDoc' invokes 'DreamMessage.Message' to deserialize
 the input stream (this is when it blocks)
 
 ------- Additional Comments From gonzalo at ximian.com  2006-08-20 12:21 -------
 It would help if you provide a small test case.
+
+------- Additional Comments From miguel at ximian.com  2006-08-20 16:09 -------
+If I use the COPY stream code path in the httptransport code, this is
+the message I get:
+
+2006-08-20 14:22:03,549 [-1237337184] INFO 
+MindTouch.Dream.DreamEnvironment -  
+POST:http://localhost:8081/host/execute
+2006-08-20 14:22:03,562 [-1235231840] INFO 
+MindTouch.Dream.DreamEnvironment -    
+POST:http://localhost:8081/host/register
+2006-08-20 14:22:03,563 [-1235231840] ERROR
+MindTouch.Dream.HostService -     register: missing
+assembly(<blueprint><assembly>dream.tutorial.show-headers</assembly><class>MindTouch.Dream.Tutorial.ShowHeadersService</class></blueprint>)
+2006-08-20 14:22:03,570 [-1236284512] INFO 
+MindTouch.Dream.DreamEnvironment -    
+POST:http://localhost:8081/host/start
+2006-08-20 14:22:03,570 [-1236284512] INFO 
+MindTouch.Dream.HostService -    
+start(MindTouch.Dream.Tutorial.ShowHeadersService)
+2006-08-20 14:22:03,572 [-1238389856] INFO 
+MindTouch.Dream.DreamEnvironment -      
+GET:http://localhost:8081/host/$blueprints/records/MindTouch.Dream.Tutorial.ShowHeadersService
+2006-08-20 14:22:03,587 [-1236284512] ERROR
+MindTouch.Dream.DreamEnvironment -   handler for
+POST:http://localhost:8081/host/start failed()
+MindTouch.Dream.DreamResponseException: Exception of type
+MindTouch.Dream.DreamResponseException was thrown.
+  at MindTouch.Dream.Plug.Invoke (System.String verb, MindTouch.XDoc
+doc) [0x00000]
+  at MindTouch.Dream.Plug.Get () [0x00000]
+  at MindTouch.Dream.HostService.PostStartService
+(MindTouch.Dream.DreamContext context) [0x00000]
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_DreamContext
+(MindTouch.Dream.DreamContext)
+  at MindTouch.Dream.DreamEnvironment.HandleRequest
+(MindTouch.Dream.DreamFeature feature, MindTouch.Dream.DreamContext
+context) [0x00000]
+  at MindTouch.Dream.DreamEnvironment.ProcessRequest (System.String
+verb, MindTouch.XUri uri, ICueReceiver`1 requestCue, ICueSender`1
+responseCue) [0x00000]
+
+If someone can explain to me what that is supposed to mean that would
+be great.
+
+At that point, with printf I found out that the whole stream has been
+read, so that is in memory at that point.
+


More information about the mono-bugs mailing list