cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

[PATCH] NTLM tests: boost coverage by forcing the hostname

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Wed, 30 Jun 2010 13:41:30 +0200

On Tue June 29 2010 19:30:35 Daniel Stenberg wrote:
> I wonder if it is time to make it possible to override the gethostname()
> call within http_ntlm.c so that the test cases can run with a fixed local
> hostname to allow better pattern matching and thus more complete algorithm
> checks.

Attached is my proposal how it may look like. To be honest, I am not sure
how portable this solution is...

Kamil

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2010-06-30

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET