qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Curl updates
@ 2014-05-08  8:42 Matthew Booth
  2014-05-08  8:42 ` [Qemu-devel] [PATCH 1/4] curl: Fix parsing of readahead option from filename Matthew Booth
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Matthew Booth @ 2014-05-08  8:42 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, peter.maydell

[PATCH 1/4] curl: Fix parsing of readahead option from filename
[PATCH 2/4] curl: Add sslverify option
[PATCH 3/4] curl: Add usage documentation

The first 3 patches are reposted with updates following discussion of the option
syntax. With this patch I've decided to break entirely with the previous syntax.
Given that option parsing was previously both broken and undocumented, this is
hopefully a forgivable sin.

The new syntax is:

  http://user:password@example.com/path?query[opt1=val:opt2=val]

I've bounded the option block in square brackets as these have no semantic
meaning in any of the supported URI formats. Consequently the user can escape
them if they're unfortunate enough to have a URI which looks like it contains an
option block.

I decided to separate options with colons rather than commas because commas play
havoc with qemu's command line parsing. There's presumably a way round this, but
I couldn't guess it and I was too lazy to look it up, so I assume users would
feel the same.

As options are now unambigous, invalid options now result in an error.

[PATCH 4/4] curl: Fix build when curl_multi_socket_action isn't

The last patch is unrelated. It should fix build against old curl, although I
don't have an old curl kicking around to test it against.

I still have a couple of patches in my local tree which:

* Remove blocking behaviour in curl_open
* Don't send EIO when a read connection hits a timeout

I'm also planning to add another option for timeout length, and to implement
write support.

Matt

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2014-05-14 21:36 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-08  8:42 [Qemu-devel] Curl updates Matthew Booth
2014-05-08  8:42 ` [Qemu-devel] [PATCH 1/4] curl: Fix parsing of readahead option from filename Matthew Booth
2014-05-13 17:29   ` Eric Blake
2014-05-14 16:00     ` Matthew Booth
2014-05-14 16:55       ` Eric Blake
2014-05-08  8:42 ` [Qemu-devel] [PATCH 2/4] curl: Add sslverify option Matthew Booth
2014-05-08  8:42 ` [Qemu-devel] [PATCH 3/4] curl: Add usage documentation Matthew Booth
2014-05-08  8:42 ` [Qemu-devel] [PATCH 4/4] curl: Fix build when curl_multi_socket_action isn't available Matthew Booth
2014-05-13 19:47 ` [Qemu-devel] Curl updates Eric Blake
2014-05-14  7:48   ` Kevin Wolf
2014-05-14 12:59     ` Eric Blake
2014-05-14 16:08     ` Matthew Booth
2014-05-14 16:43       ` Kevin Wolf
2014-05-14 21:20         ` Matthew Booth
2014-05-14 21:36           ` Eric Blake
2014-05-14 16:59       ` Eric Blake
2014-05-14 16:06   ` Matthew Booth
2014-05-14 17:02     ` Eric Blake
2014-05-14 20:45       ` Matthew Booth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).