Daniel Stenberg
7c648782bc
Introcuding a new timestamp for curl_easy_getinfo():
...
CURLINFO_APPCONNECT_TIME. This is set with the "application layer"
handshake/connection is completed (typically SSL, TLS or SSH). By using this
you can figure out the application layer's own connect time. You can extract
the time stamp using curl's -w option and the new variable named
'time_appconnect'. This feature was sponsored by Lenny Rachitsky at NeuStar.
2008-07-03 06:56:03 +00:00
Daniel Stenberg
852989856d
- To make it easier for applications that want lots of magic stuff done on
...
redirections and thus cannot use CURLOPT_FOLLOWLOCATION easily, we now
introduce the new CURLINFO_REDIRECT_URL option that lets applications
extract the URL libcurl would've redirected to if it had been told to. This
then enables the application to continue to that URL as it thinks is
suitable, without having to re-implement the magic of creating the new URL
from the Location: header etc. Test 1029 verifies it.
2008-04-30 21:20:08 +00:00
Dan Fandrich
09777a4fc2
Some trivial changes
2008-04-17 00:45:33 +00:00
Daniel Stenberg
598ffeea89
David McCreedy added CURLINFO_FTP_ENTRY_PATH to export the FTP entry path
2006-03-21 22:30:03 +00:00
Daniel Stenberg
4b23ddc002
Fixed typo, the option is called --write-out. Bob Bagwill pointed out.
2006-02-23 21:33:02 +00:00
Daniel Stenberg
e8635044b5
Now curl warns if an unknown variable is used in the -w/--writeout argument.
2005-09-06 13:27:18 +00:00
Daniel Stenberg
4ba1eb26fa
Added test case 217 that verified CURLINFO_HTTP_CONNECTCODE, and I made the
...
-w option support 'http_connect' to make it easier to verify!
2004-12-21 19:59:35 +00:00
Dan Fandrich
1ba47e7af9
Add 'const' to immutable arrays.
2004-12-15 01:38:25 +00:00
Daniel Stenberg
8475a0df2f
new -w variables supported
2004-11-15 11:25:39 +00:00
Daniel Stenberg
f4bef25b5e
CURLINFO_NUM_CONNECTS and more
2004-10-19 15:30:08 +00:00
Daniel Stenberg
ad63e1e698
removed trailing whitespace
2004-07-26 09:09:26 +00:00
Daniel Stenberg
fb086b57a8
slightly odd fix to prevent -Wunreachable-code to warn
2004-05-05 09:20:08 +00:00
Daniel Stenberg
37817667e2
use %ld when printfing longs
2004-02-25 15:41:36 +00:00
Daniel Stenberg
e723d2eb7c
use VAR_NONE instead of 0 in the table to prevent compiler warning
2004-02-09 08:29:09 +00:00
Daniel Stenberg
0d6236f7e1
make pedantic compiler options generate less warnings
2004-01-29 13:54:08 +00:00
Daniel Stenberg
053f6c85ef
updated year in the copyright string
2004-01-07 09:19:33 +00:00
Daniel Stenberg
5974309d10
CURLINFO_RESPONSE_CODE replaces CURLINFO_HTTP_CODE
2003-08-20 15:42:24 +00:00
Daniel Stenberg
9121b1f41d
the strequal and strnequal should now be called with the proper curl_ prefix
2003-02-28 12:20:08 +00:00
Daniel Stenberg
f26a338a54
copyright year update in the source header
2003-01-16 21:08:12 +00:00
Daniel Stenberg
ba4e69bebc
updated source code boilerplate/header
2002-09-03 11:52:59 +00:00
Daniel Stenberg
dafd81178f
When CURLINFO_CONTENT_TYPE returns a NULL pointer, don't try to fputs() it!
2002-07-30 11:07:59 +00:00
Daniel Stenberg
baa77ec13b
FreeBSD needs sys/types.h before we include sys/select.h that was included
...
mainly for AIX in the first place...! As reported in bug report #556869
2002-05-17 07:57:13 +00:00
Daniel Stenberg
2ff2810a92
AIX wants sys/select.h for the fd_set stuff in curl/multi.h, and even though
...
it is a bit ugly work-around to add this here, it is still a working work-
around! ;-)
2002-05-10 14:37:39 +00:00
Daniel Stenberg
974f314f57
copyright string (year) update
2002-03-19 07:54:55 +00:00
Daniel Stenberg
95e601e2b1
"Yet Another Geek" made %{content_type} work in the -w/--writeout option.
2002-02-25 07:40:49 +00:00
Daniel Stenberg
ca0fd33d2d
Georg Horn's STARTTRANSFER_TIME patch
2001-11-20 15:00:50 +00:00
Daniel Stenberg
3a37c0ae23
(un)signed and const cleanup
2001-08-14 09:16:46 +00:00
Daniel Stenberg
32f966b239
A Linus Nielsen Feltzing-patch that removes the decimals from the size
...
outputs...
2001-04-19 11:24:29 +00:00
Daniel Stenberg
70793595fe
removed the two unnecessary include files
2001-03-14 10:27:13 +00:00
Daniel Stenberg
24dee483e9
dual-license fix
2001-01-03 09:29:33 +00:00
Daniel Stenberg
7b49d40bb0
removed pedantic compiler warnings
2000-11-21 09:38:41 +00:00
Daniel Stenberg
ccd0f07c41
-w supports size_header and size_request
2000-10-04 13:08:17 +00:00
Daniel Stenberg
dfec172157
moved out from the library and put here, uses the new curl_easy_getinfo()
2000-10-02 06:30:40 +00:00