Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

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

From: Kamil Dudka <>
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...


List admin:

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