You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Claudio Caldato (MS OPEN TECH)" <cl...@microsoft.com> on 2012/06/14 19:49:32 UTC

RE: Status of Windows-work for 2.4.x

I have a dev available now so we are ready to start.



I have been out of the loop for a while so I'll start by looking at https://issues.apache.org/bugzilla/show_bug.cgi?id=52476, please point me to any other relevant information. And please add 'Windows' to the subject line for any Windows related issue so it will be easier for me to know which messages I have to read.



I hope to have good news soon.



Thanks
Claudio

From: Claudio Caldato (MS OPEN TECH)
Sent: Thursday, May 31, 2012 2:46 PM
To: dev@httpd.apache.org
Subject: RE: Status of Windows-work for 2.4.x


Hi guys,



I guess I'm the 'nice guy from Microsoft' :)

Sorry for the long silence. I have been waiting for one of our developers to finish other projects in order to start looking at httpd issued on windows. Things are getting better now so I should have a developer available in the next 2-3 weeks.



Claudio



________________________________
From: Mario Brandt [jblond@gmail.com]
Sent: Thursday, May 31, 2012 2:18 PM
To: dev@httpd.apache.org<ma...@httpd.apache.org>
Subject: Re: Status of Windows-work for 2.4.x
Is here any progess? Since there is a nice guy from microsoft, we should use that!

Mario

Send from my toaster via IPv6

On Thursday, May 17, 2012, Gregg Smith wrote:
On 5/14/2012 6:08 AM, Jim Jagielski wrote:
On May 13, 2012, at 11:04 AM, Steffen wrote:
No news from here too. Complaints from the Win community are growing.
I know that I've pinged MS for help and that we rec'd some
offers from MS engineers to assist us. Have we taken advantage
of that?
Last I saw from MS was this
http://mail-archives.apache.org/mod_mbox/httpd-dev/201204.mbox/%3C391F7185EB3C0941A9DC21C4BB06EACB075134@BL2PRD0310MB349.namprd03.prod.outlook.com%3E

unless replied to off list, I see no reply to Claudio's questions. This is beyond my understanding so I stayed mum.

Re: Status of Windows-work for 2.4.x

Posted by Jeff Trawick <tr...@gmail.com>.
On Wed, Jul 18, 2012 at 12:43 PM, Jeff Trawick <tr...@gmail.com> wrote:
> On Wed, Jul 18, 2012 at 12:28 PM, Mladen Turk <mt...@apache.org> wrote:
>> On 07/18/2012 05:49 PM, Jeff Trawick wrote:
>>>
>>>
>>> Is it possible that this results in flaky behavior depending on
>>> third-party software installed?
>>>
>>
>> Well, MSDN clearly states:
>> <quote>
>> Note: The function pointer for the AcceptEx function must be obtained
>> at run time by making a call to the WSAIoctl function ...
>> </quote>
>>
>> If I understand English grammar correctly *must* is something
>> you can't interpret at will.
>>
>> However whether this is a reason for a flaky behaviour or not
>> is a question. But in any case the statement "must be obtained"
>> is a pretty clear.
>
> Yeah, I agree completely on "must", and I'll try to fix that Real Soon
> Now.  On the rest, I was just mumbling that I saw a potential
> connection between an API that (unexpectedly) you are supposed to
> obtain dynamically and past reports of failures in the use of that API
> in some configurations supposedly involving third-party software that
> developers can't readily reproduce.  (unclear to me how much of this
> is urban legend)

Other MS doc indicates that the reason the address should be retrieved
dynamically is performance:  The available static function in
mswsock.lib will try to retrieve AcceptEx on each call.

There was a bit of snowballing on what seemed like a simple change...
The static GetAcceptExSockaddrs no longer fills in addresses if the
dynamic AcceptEx is used, and some MinGW levels are missing the
necessary definitions.

>>
>>
>> Regards
>> --
>> ^TM
>>
>>
>
>
>
> --
> Born in Roswell... married an alien...
> http://emptyhammock.com/



-- 
Born in Roswell... married an alien...
http://emptyhammock.com/

Re: Status of Windows-work for 2.4.x

Posted by Jeff Trawick <tr...@gmail.com>.
On Wed, Jul 18, 2012 at 12:28 PM, Mladen Turk <mt...@apache.org> wrote:
> On 07/18/2012 05:49 PM, Jeff Trawick wrote:
>>
>>
>> Is it possible that this results in flaky behavior depending on
>> third-party software installed?
>>
>
> Well, MSDN clearly states:
> <quote>
> Note: The function pointer for the AcceptEx function must be obtained
> at run time by making a call to the WSAIoctl function ...
> </quote>
>
> If I understand English grammar correctly *must* is something
> you can't interpret at will.
>
> However whether this is a reason for a flaky behaviour or not
> is a question. But in any case the statement "must be obtained"
> is a pretty clear.

Yeah, I agree completely on "must", and I'll try to fix that Real Soon
Now.  On the rest, I was just mumbling that I saw a potential
connection between an API that (unexpectedly) you are supposed to
obtain dynamically and past reports of failures in the use of that API
in some configurations supposedly involving third-party software that
developers can't readily reproduce.  (unclear to me how much of this
is urban legend)
>
>
> Regards
> --
> ^TM
>
>



-- 
Born in Roswell... married an alien...
http://emptyhammock.com/

Re: Status of Windows-work for 2.4.x

Posted by Mladen Turk <mt...@apache.org>.
On 07/18/2012 05:49 PM, Jeff Trawick wrote:
>
> Is it possible that this results in flaky behavior depending on
> third-party software installed?
>

Well, MSDN clearly states:
<quote>
Note: The function pointer for the AcceptEx function must be obtained
at run time by making a call to the WSAIoctl function ...
</quote>

If I understand English grammar correctly *must* is something
you can't interpret at will.

However whether this is a reason for a flaky behaviour or not
is a question. But in any case the statement "must be obtained"
is a pretty clear.


Regards
-- 
^TM



Re: Status of Windows-work for 2.4.x

Posted by "William A. Rowe Jr." <wr...@rowe-clan.net>.
On 7/31/2012 3:27 PM, Jeff Trawick wrote:
> On Tue, Jul 31, 2012 at 4:11 PM, William A. Rowe Jr.
> <wr...@rowe-clan.net> wrote:
>> On 7/18/2012 8:49 AM, Jeff Trawick wrote:
>>> On Thu, Jun 14, 2012 at 1:49 PM, Claudio Caldato (MS OPEN TECH)
>>> <cl...@microsoft.com> wrote:
>>>> I have a dev available now so we are ready to start.
>>>>
>>>> I have been out of the loop for a while so I’ll start by looking at
>>>> https://issues.apache.org/bugzilla/show_bug.cgi?id=52476, please point me to
>>>> any other relevant information. And please add ‘Windows’ to the subject line
>>>> for any Windows related issue so it will be easier for me to know which
>>>> messages I have to read.
>>>>
>>>> I hope to have good news soon.
>>>
>>> Random question from the crowd...
>>>
>>> The WinNT MPM doesn't load the address of AcceptEx dynamically via
>>> WSAIoctl, though that is a documented requirement and shown in the
>>> AcceptEx sample I found.
>>>
>>> Is it possible that this results in flaky behavior depending on
>>> third-party software installed?
>>
>> That is entirely possible but unlikely.  The present flakey behavior is not
>> surrounding AcceptEx(), it works for the vast majority of configurations
>> until incomplete socket providers are added.  But I'd be happy to see a patch
>> to resolve AcceptEx dynamically.
> 
> http://svn.apache.org/viewvc?view=revision&revision=1363312

Looks great!  Thanks for the patch :)




Re: Status of Windows-work for 2.4.x

Posted by Jeff Trawick <tr...@gmail.com>.
On Tue, Jul 31, 2012 at 4:11 PM, William A. Rowe Jr.
<wr...@rowe-clan.net> wrote:
> On 7/18/2012 8:49 AM, Jeff Trawick wrote:
>> On Thu, Jun 14, 2012 at 1:49 PM, Claudio Caldato (MS OPEN TECH)
>> <cl...@microsoft.com> wrote:
>>> I have a dev available now so we are ready to start.
>>>
>>> I have been out of the loop for a while so I’ll start by looking at
>>> https://issues.apache.org/bugzilla/show_bug.cgi?id=52476, please point me to
>>> any other relevant information. And please add ‘Windows’ to the subject line
>>> for any Windows related issue so it will be easier for me to know which
>>> messages I have to read.
>>>
>>> I hope to have good news soon.
>>
>> Random question from the crowd...
>>
>> The WinNT MPM doesn't load the address of AcceptEx dynamically via
>> WSAIoctl, though that is a documented requirement and shown in the
>> AcceptEx sample I found.
>>
>> Is it possible that this results in flaky behavior depending on
>> third-party software installed?
>
> That is entirely possible but unlikely.  The present flakey behavior is not
> surrounding AcceptEx(), it works for the vast majority of configurations
> until incomplete socket providers are added.  But I'd be happy to see a patch
> to resolve AcceptEx dynamically.

http://svn.apache.org/viewvc?view=revision&revision=1363312

>
> The issues now are twofold;
>
>  1. When using AcceptEx() we always attempt to recycle the socket context.
>     We should make this configurable and avoidable.  Many socket providers
>     have implemented AcceptEx() and then trash the socket making it fail
>     any attempt at reuse.
>
>  2. When using accept() we are doing 'something wrong' compared to our 2.2
>     code, which causes the timeouts to be other than expected by APR.  This
>     in turn causes the mod_ssl blocking read to fail to block.
>
>



-- 
Born in Roswell... married an alien...
http://emptyhammock.com/

Re: Status of Windows-work for 2.4.x

Posted by "William A. Rowe Jr." <wr...@rowe-clan.net>.
On 7/18/2012 8:49 AM, Jeff Trawick wrote:
> On Thu, Jun 14, 2012 at 1:49 PM, Claudio Caldato (MS OPEN TECH)
> <cl...@microsoft.com> wrote:
>> I have a dev available now so we are ready to start.
>>
>> I have been out of the loop for a while so I’ll start by looking at
>> https://issues.apache.org/bugzilla/show_bug.cgi?id=52476, please point me to
>> any other relevant information. And please add ‘Windows’ to the subject line
>> for any Windows related issue so it will be easier for me to know which
>> messages I have to read.
>>
>> I hope to have good news soon.
> 
> Random question from the crowd...
> 
> The WinNT MPM doesn't load the address of AcceptEx dynamically via
> WSAIoctl, though that is a documented requirement and shown in the
> AcceptEx sample I found.
> 
> Is it possible that this results in flaky behavior depending on
> third-party software installed?

That is entirely possible but unlikely.  The present flakey behavior is not
surrounding AcceptEx(), it works for the vast majority of configurations
until incomplete socket providers are added.  But I'd be happy to see a patch
to resolve AcceptEx dynamically.

The issues now are twofold;

 1. When using AcceptEx() we always attempt to recycle the socket context.
    We should make this configurable and avoidable.  Many socket providers
    have implemented AcceptEx() and then trash the socket making it fail
    any attempt at reuse.

 2. When using accept() we are doing 'something wrong' compared to our 2.2
    code, which causes the timeouts to be other than expected by APR.  This
    in turn causes the mod_ssl blocking read to fail to block.



Re: Status of Windows-work for 2.4.x

Posted by Jeff Trawick <tr...@gmail.com>.
On Thu, Jun 14, 2012 at 1:49 PM, Claudio Caldato (MS OPEN TECH)
<cl...@microsoft.com> wrote:
> I have a dev available now so we are ready to start.
>
>
>
> I have been out of the loop for a while so I’ll start by looking at
> https://issues.apache.org/bugzilla/show_bug.cgi?id=52476, please point me to
> any other relevant information. And please add ‘Windows’ to the subject line
> for any Windows related issue so it will be easier for me to know which
> messages I have to read.
>
>
>
> I hope to have good news soon.

Random question from the crowd...

The WinNT MPM doesn't load the address of AcceptEx dynamically via
WSAIoctl, though that is a documented requirement and shown in the
AcceptEx sample I found.

Is it possible that this results in flaky behavior depending on
third-party software installed?

(sorry if I missed a discussion of this in my quick&sloppy search)


>
>
>
> Thanks
> Claudio
>
>
>
> From: Claudio Caldato (MS OPEN TECH)
> Sent: Thursday, May 31, 2012 2:46 PM
> To: dev@httpd.apache.org
> Subject: RE: Status of Windows-work for 2.4.x
>
>
>
> Hi guys,
>
>
>
> I guess I'm the 'nice guy from Microsoft' :)
>
> Sorry for the long silence. I have been waiting for one of our developers to
> finish other projects in order to start looking at httpd issued on windows.
> Things are getting better now so I should have a developer available in the
> next 2-3 weeks.
>
>
>
> Claudio
>
>
>
> ________________________________
>
> From: Mario Brandt [jblond@gmail.com]
> Sent: Thursday, May 31, 2012 2:18 PM
> To: dev@httpd.apache.org
> Subject: Re: Status of Windows-work for 2.4.x
>
> Is here any progess? Since there is a nice guy from microsoft, we should use
> that!
>
>
>
> Mario
>
>
>
> Send from my toaster via IPv6
>
> On Thursday, May 17, 2012, Gregg Smith wrote:
>
> On 5/14/2012 6:08 AM, Jim Jagielski wrote:
>
> On May 13, 2012, at 11:04 AM, Steffen wrote:
>
> No news from here too. Complaints from the Win community are growing.
>
> I know that I've pinged MS for help and that we rec'd some
> offers from MS engineers to assist us. Have we taken advantage
> of that?
>
> Last I saw from MS was this
> http://mail-archives.apache.org/mod_mbox/httpd-dev/201204.mbox/%3C391F7185EB3C0941A9DC21C4BB06EACB075134@BL2PRD0310MB349.namprd03.prod.outlook.com%3E
>
> unless replied to off list, I see no reply to Claudio's questions. This is
> beyond my understanding so I stayed mum.



-- 
Born in Roswell... married an alien...
http://emptyhammock.com/