Http Pipelining

Greg Young <[email protected]>
Newsgroups gmane.comp.gnome.mono.devel
Message-ID <CAC9RQtge7GAGCD2VZGeo3avun2oN7XgTh92YDPN0afepURckWg@mail.gmail.com>
Is mono supposed to support http pipelining on httplistener before I
go down a rabbit hole of figuring out why we are seeing the behavior
of it not supporting pipelining... I found some issues with people
discussing it not supporting it but they were a few years old so maybe
it is fixed.

The behaviour is http 1.1 compliant in that it services the first then
ignores the rest just not pipelining.

➜  manuscript git:(master) ✗ perl -e '$| = 1; print "GET /streams/1/0
HTTP/1.1\nHost: 127.0.0.1:2113\n\nEXPECT:100-continue\n\nGET
/streams/1/1 HTTP/1.1\nHost:
127.0.0.1:2113\nEXPECT:100-continue\n\n\nGET / HTTP/1.1\nHost:
127.0.0.1:2113\nEXPECT:100-continue\n\n\n"; sleep (1)' OB | telnet
127.0.0.1 2113
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
HTTP/1.1 200 OK
Access-Control-Allow-Methods: GET, OPTIONS
Access-Control-Allow-Headers: Content-Type, X-Requested-With,
X-Forwarded-Host, X-Forwarded-Prefix, X-PINGOTHER, Authorization,
ES-LongPoll, ES-ExpectedVersion, ES-EventId, ES-EventType,
ES-RequiresMaster, ES-HardDelete, ES-ResolveLinkTos
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Location, ES-Position, ES-CurrentVersion
Cache-Control: max-age=31536000, public
Vary: Accept
Content-Type: application/atom+xml; charset=utf-8
Server: Mono-HTTPAPI/1.0
Date: Wed, 18 Jan 2017 16:29:28 GMT
Content-Length: 697
Keep-Alive: timeout=15,max=100

<?xml version="1.0" encoding="utf-8"?><atom:entry
xmlns:atom="http://www.w3.org/2005/Atom"><atom:title>0@1</atom:title><atom:id>http://127.0.0.1:2113/streams/1/0</atom:id><atom:updated>2017-01-18T16:27:33.980337Z</atom:updated><atom:author><atom:name>EventStore</atom:name></atom:author><atom:summary>foo</atom:summary><atom:link
href="http://127.0.0.1:2113/streams/1/0" rel="edit" /><atom:link
href="http://127.0.0.1:2113/streams/1/0" rel="alternate"
/><atom:content
type="application/xml"><eventStreamId>1</eventStreamId><eventNumber>0</eventNumber><eventType>foo</eventType><eventId>64f3acd4-54ae-49f7-9840-2f9ac375c5ea</eventId><data>foo</data><metadata></metadata></atom:content></atom:entry>Connection
closed by foreign host.


-- 
Studying for the Turing test
_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.dot.net/mailman/listinfo/mono-devel-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.