building urls from server responses
Status: Alpha
Brought to you by:
coroberti
From: Gary F. <Ga...@in...> - 2008-11-12 21:52:01
|
Oops, I forgot to include one file.. Hello Robert, Here are the additions to curl-loader that I've been working on. The new tags are documented in an attached file. They allow clients to fetch urls built from prior server responses, or from a token file. There are also a few bug fixes (at least I think they were bugs): multiple clients can now upload the same file repeatedly without interference, form_strings can now have many %s markers, and whitespace is removed from form_string tokens. (The code always removed whitespace, but a minor bug caused the original token to be used instead.) I tried to keep all of my changes in one new source file, url_set.c, but I had to put hooks and small changes into 5 other files: url.h, client.h, parse_conf.c, loader.c, and loader_fsm.c. These are all included. I've marked all the changes with GF in a comment to make them easy to find. I've tested all this to my own satisfaction, but of course there will be bugs that I haven't uncovered yet. If you want to adopt any of these changes, it might make sense to move the url_set.c code back into parse_conf.c and loader.c -- whatever is most convenient. Gary Fitts |