Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Viewing all articles
Browse latest Browse all 7925

Edited Issue: Submit request to HttpServer in MessageHandler cause failure during pipeline creation [260]

$
0
0
Check out the attach sample. It is built based on Brad's batching sample: http://bradwilson.typepad.com/blog/2012/06/batching-handler-for-web-api.html

One customized message handler is added to the global configuration. Run the client, you will notice all the inner request are return 400 Bad Request.

The exception happens in HttpClientFactory.CreatePipeline. When a request is submitted to HttpServer, the server tries to ensure the pipeline is created, which invoke a re-create a established pipeline.

Viewing all articles
Browse latest Browse all 7925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>