Re: Ports doesnt respect fetch environment settings

2010-07-01 Thread Tom Evans
2010/6/30 Dag-Erling Smørgrav d...@des.no: Tom Evans tevans...@googlemail.com writes: Sorry to bump this again. I've diluted this issue down to the core points and raised as a pr - can someone take a look, see if my solution is correct and commit if appropriate? Sorry, fell through the

Re: Ports doesnt respect fetch environment settings

2010-07-01 Thread Dag-Erling Smørgrav
Tom Evans tevans...@googlemail.com writes: I think this does show that the patch could be made a little better. We only want to go through the loop one more time if we have credentials to send, and we have credentials to send if the rv of http_parse_authenticate is good. I also think the

Re: Ports doesnt respect fetch environment settings

2010-06-30 Thread Tom Evans
Sorry to bump this again. I've diluted this issue down to the core points and raised as a pr - can someone take a look, see if my solution is correct and commit if appropriate? http://www.freebsd.org/cgi/query-pr.cgi?pr=148087 Cheers Tom ___

Re: Ports doesnt respect fetch environment settings

2010-06-30 Thread Dag-Erling Smørgrav
Tom Evans tevans...@googlemail.com writes: Sorry to bump this again. I've diluted this issue down to the core points and raised as a pr - can someone take a look, see if my solution is correct and commit if appropriate? Sorry, fell through the cracks. Your analysis is correct, but I'm not

Ports doesnt respect fetch environment settings

2010-06-21 Thread Tom Evans
My company recently enabled proxy authentication for outgoing connections, and this has stopped ports from working. From fetch(5), I understand that I can place my proxy authentication in plain text in the environment*, and this will allow fetch to work correctly, and this does work: # env |

Re: Ports doesnt respect fetch environment settings

2010-06-21 Thread Erwin Lansing
On Mon, Jun 21, 2010 at 11:04:16AM +0100, Tom Evans wrote: My company recently enabled proxy authentication for outgoing connections, and this has stopped ports from working. From fetch(5), I understand that I can place my proxy authentication in plain text in the environment*, and this will

Re: Ports doesnt respect fetch environment settings

2010-06-21 Thread Tom Evans
On Mon, Jun 21, 2010 at 11:10 AM, Erwin Lansing er...@freebsd.org wrote: On Mon, Jun 21, 2010 at 11:04:16AM +0100, Tom Evans wrote: My company recently enabled proxy authentication for outgoing connections, and this has stopped ports from working. From fetch(5), I understand that I can place

Re: Ports doesnt respect fetch environment settings

2010-06-21 Thread Gary Jennejohn
On Mon, 21 Jun 2010 11:34:12 +0100 Tom Evans tevans...@googlemail.com wrote: On Mon, Jun 21, 2010 at 11:10 AM, Erwin Lansing er...@freebsd.org wrote: On Mon, Jun 21, 2010 at 11:04:16AM +0100, Tom Evans wrote: My company recently enabled proxy authentication for outgoing connections, and

Re: Ports doesnt respect fetch environment settings

2010-06-21 Thread Tom Evans
On Mon, Jun 21, 2010 at 12:07 PM, Gary Jennejohn gljennj...@googlemail.com wrote: Yes.  When you ran fetch by hand you didn't have the -ApRr on the CL. Could it be that the 'p' flag is causing problems? Try running fetch by hand again with those flags and see what happens. If it fails, try