> > Does this mean that parse errors are treated as 0? (which your code > would then just silently treat as the default 30s)? Maybe set_time_out > should return an error instead so that you can notify the user that > something went wrong. > I did a trick using the pointer that we pass from URL.hs to notify when the environment variable is not a number. Also I mentioned about doing the code for the timeout higher lever, but I forgot that I would need a handle to call curl_easy_setopt.
The code I put to notify that we had an error when reading the environment variable is not part of the libcurl codes ( and is not taken ). A todo thing would be to rewrite the use of curl, and put all the high level code that we have in hscurl.c into Haskell code. _______________________________________________ darcs-users mailing list darcs-users@darcs.net http://lists.osuosl.org/mailman/listinfo/darcs-users