Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Dev

Re: Apache httpd 2.4.x on Windows

 

 

Apache dev RSS feed   Index | Next | Previous | View Threaded


jim at jaguNET

Apr 4, 2012, 3:13 PM

Post #1 of 8 (316 views)
Permalink
Re: Apache httpd 2.4.x on Windows

Good news! Gianugo and Claudio have offered to see how they
can help us in resolving the SSL issues w/ httpd 2.4.x...
As you can see, Claudio is the main guru who may be able
to provide the most insight.

I've CC'ed both on this Email.

Claudio, if you like, you may wish to subscribe to the dev [at] httpd
mailing list.

On Apr 4, 2012, at 1:57 PM, Gianugo Rabellino wrote:

> Jim, meet Claudio Caldato. Claudio is a fellow Italian and we work in the same team. He's the one to blame for making node.js sing on Windows and he'd be happy to start investigating how we can help httpd as well. Let me know if I can be of any further help.
>
> --
> Gianugo Rabellino
> Sr. Director, Open Source Communities, Microsoft Corp.
> Mobile: +1 (425) 786 8646 - Twitter: @gianugo
>
> -----Original Message-----
> From: Jim Jagielski [mailto:jim [at] apache]
> Sent: Wednesday, April 04, 2012 7:25 AM
> To: Gianugo Rabellino
> Subject: Apache httpd 2.4.x on Windows
>
> Gianugo,
>
> I hope this email finds you well... I missed seeing you again at POSSCON this year.
>
> We (the web server PMC) have an issue with the latest revs of Apache (2.4.x) on Windows, such that we can't get SSL to work well with the Windows networking stack... as such, even though it's GA for Unix and Unix-like OSs, Windows is still considered beta. We'd like to address that :)
>
> So I was wondering if there's a team in MS we could ping to get some better insights on what might be going on... we want to ensure that Windows is a fully supported OS for httpd.
>
> Thanks!
>
>
>
>
>


wrowe at rowe-clan

Apr 4, 2012, 9:49 PM

Post #2 of 8 (308 views)
Permalink
Re: Apache httpd 2.4.x on Windows [In reply to]

Very cool :)

Claudio, we can point you precisely to where httpd 2.4 goes off the
rails. We instantiate a socket connection (accept() or AcceptEx()
yet our presumptions about the state of the socket (block/nonblock
timeouts etc) were not honored. There is a call, apr_os_socket_make()
which APR makes certain assumptions about.

Seems too fragile. Perhaps that _make() call needs to IoCtl at the
socket to determine all of the 'anticipated' state conditions to be
able to roll on with the correct assumptions.


On 4/4/2012 5:13 PM, Jim Jagielski wrote:
> Good news! Gianugo and Claudio have offered to see how they
> can help us in resolving the SSL issues w/ httpd 2.4.x...
> As you can see, Claudio is the main guru who may be able
> to provide the most insight.
>
> I've CC'ed both on this Email.
>
> Claudio, if you like, you may wish to subscribe to the dev [at] httpd
> mailing list.
>
> On Apr 4, 2012, at 1:57 PM, Gianugo Rabellino wrote:
>
>> Jim, meet Claudio Caldato. Claudio is a fellow Italian and we work in the same team. He's the one to blame for making node.js sing on Windows and he'd be happy to start investigating how we can help httpd as well. Let me know if I can be of any further help.
>>
>> --
>> Gianugo Rabellino
>> Sr. Director, Open Source Communities, Microsoft Corp.
>> Mobile: +1 (425) 786 8646 - Twitter: @gianugo
>>
>> -----Original Message-----
>> From: Jim Jagielski [mailto:jim [at] apache]
>> Sent: Wednesday, April 04, 2012 7:25 AM
>> To: Gianugo Rabellino
>> Subject: Apache httpd 2.4.x on Windows
>>
>> Gianugo,
>>
>> I hope this email finds you well... I missed seeing you again at POSSCON this year.
>>
>> We (the web server PMC) have an issue with the latest revs of Apache (2.4.x) on Windows, such that we can't get SSL to work well with the Windows networking stack... as such, even though it's GA for Unix and Unix-like OSs, Windows is still considered beta. We'd like to address that :)
>>
>> So I was wondering if there's a team in MS we could ping to get some better insights on what might be going on... we want to ensure that Windows is a fully supported OS for httpd.
>>
>> Thanks!
>>
>>
>>
>>
>>
>
>


wrowe at rowe-clan

Apr 5, 2012, 12:34 PM

Post #3 of 8 (302 views)
Permalink
Re: Apache httpd 2.4.x on Windows [In reply to]

On 4/5/2012 1:14 PM, Claudio Caldato wrote:
> Hi William,
>
> We need more details in order to be able to figure out what is going on. Any chance that you guys have an isolated repo we can use to investigate this issue?

All the notes are in the dev@ list archives this past quarter.

People weren't terribly good about keeping the subject lines
consistent, though. I'm sure Jim, Steffen or someone would be
happy to assemble you the pointers to all the relevant threads.
In short mod_ssl expects a blocking socket connection to the
client, an apr_sock_t object in APR-speak.

If I had time to find you all the scattered threads, I really
would find time to debug this myself :)


gls at gknw

Apr 5, 2012, 1:02 PM

Post #4 of 8 (301 views)
Permalink
Re: Apache httpd 2.4.x on Windows [In reply to]

To Start there is the bugzilla report;
https://issues.apache.org/bugzilla/show_bug.cgi?id=52476

Then it's scattered all over the dev@ list, possibly the most relevant;

http://marc.info/?t=132500100700005&r=1&w=2
http://marc.info/?t=132914149900007&r=1&w=2

Have missed some I'm sure, but it's a start.

Cheers,
Gregg


On 4/5/2012 12:34 PM, William A. Rowe Jr. wrote:
> On 4/5/2012 1:14 PM, Claudio Caldato wrote:
>> Hi William,
>>
>> We need more details in order to be able to figure out what is going on. Any chance that you guys have an isolated repo we can use to investigate this issue?
> All the notes are in the dev@ list archives this past quarter.
>
> People weren't terribly good about keeping the subject lines
> consistent, though. I'm sure Jim, Steffen or someone would be
> happy to assemble you the pointers to all the relevant threads.
> In short mod_ssl expects a blocking socket connection to the
> client, an apr_sock_t object in APR-speak.
>
> If I had time to find you all the scattered threads, I really
> would find time to debug this myself :)
>
>


ben at links

Apr 5, 2012, 1:04 PM

Post #5 of 8 (305 views)
Permalink
Re: Apache httpd 2.4.x on Windows [In reply to]

On Thu, Apr 5, 2012 at 8:34 PM, William A. Rowe Jr. <wrowe [at] rowe-clan> wrote:
> On 4/5/2012 1:14 PM, Claudio Caldato wrote:
>> Hi William,
>>
>> We need more details in order to be able to figure out what is going on. Any chance that you guys have an isolated repo we can use to investigate this issue?
>
> All the notes are in the dev@ list archives this past quarter.
>
> People weren't terribly good about keeping the subject lines
> consistent, though.  I'm sure Jim, Steffen or someone would be
> happy to assemble you the pointers to all the relevant threads.
> In short mod_ssl expects a blocking socket connection to the
> client, an apr_sock_t object in APR-speak.

Really? I totally haven't kept up, but last I knew mod_ssl used the
whole bucket nightmare and did not need blocking connections.

> If I had time to find you all the scattered threads, I really
> would find time to debug this myself :)
>


claudioc at microsoft

Apr 5, 2012, 1:37 PM

Post #6 of 8 (305 views)
Permalink
RE: Apache httpd 2.4.x on Windows [In reply to]

- Is the listening socket in blocking or non-blocking mode?
- Are you doing overlapped AcceptEx?
- If yes, is it done through IOCP?
- After accepting a connection, do you call setsockopt with SO_UPDATE_ACCEPT_CONTEXT on the accepted socket?
- Do you put the accepted socket into blocking or non-blocking mode?

Thanks
Claudio


> -----Original Message-----
> From: Gregg Smith [mailto:gls [at] gknw]
> Sent: Thursday, April 05, 2012 1:02 PM
> To: dev [at] httpd
> Cc: Claudio Caldato; Gianugo Rabellino
> Subject: Re: Apache httpd 2.4.x on Windows
>
> To Start there is the bugzilla report;
> https://issues.apache.org/bugzilla/show_bug.cgi?id=52476
>
> Then it's scattered all over the dev@ list, possibly the most relevant;
>
> http://marc.info/?t=132500100700005&r=1&w=2
> http://marc.info/?t=132914149900007&r=1&w=2
>
> Have missed some I'm sure, but it's a start.
>
> Cheers,
> Gregg
>
>
> On 4/5/2012 12:34 PM, William A. Rowe Jr. wrote:
> > On 4/5/2012 1:14 PM, Claudio Caldato wrote:
> >> Hi William,
> >>
> >> We need more details in order to be able to figure out what is going on. Any
> chance that you guys have an isolated repo we can use to investigate this issue?
> > All the notes are in the dev@ list archives this past quarter.
> >
> > People weren't terribly good about keeping the subject lines
> > consistent, though. I'm sure Jim, Steffen or someone would be happy
> > to assemble you the pointers to all the relevant threads.
> > In short mod_ssl expects a blocking socket connection to the client,
> > an apr_sock_t object in APR-speak.
> >
> > If I had time to find you all the scattered threads, I really would
> > find time to debug this myself :)
> >
> >
>
>
>


wrowe at rowe-clan

Apr 5, 2012, 7:51 PM

Post #7 of 8 (301 views)
Permalink
Re: Apache httpd 2.4.x on Windows [In reply to]

On 4/5/2012 3:04 PM, Ben Laurie wrote:
>
> Really? I totally haven't kept up, but last I knew mod_ssl used the
> whole bucket nightmare and did not need blocking connections.

It does when it goes to re-attempt a second read() for the HELO. If
that second chance won't block, it appears to barf.


info at apachelounge

Apr 6, 2012, 1:04 PM

Post #8 of 8 (303 views)
Permalink
Re: Apache httpd 2.4.x on Windows [In reply to]

When using https I am getting also tons of a Schannel error:

Log Name: System
Source: Schannel
Date: 06-04-12 16:11:18
Event ID: 36888
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: Father
Description:
The following fatal alert was generated: 10. The internal error state is 10.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Schannel" Guid="{1F678132-5938-4686-9FDC-C8FF68F15C85}"
/>
<EventID>36888</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2012-04-06T14:11:18.920716300Z" />
<EventRecordID>63790</EventRecordID>
<Correlation />
<Execution ProcessID="748" ThreadID="3796" />
<Channel>System</Channel>
<Computer>Father</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="AlertDesc">10</Data>
<Data Name="ErrorState">10</Data>
</EventData>
</Event>


-----Original Message-----
From: William A. Rowe Jr.
Sent: Friday, April 06, 2012 4:51 AM Newsgroups: gmane.comp.apache.devel
To: dev [at] httpd
Subject: Re: Apache httpd 2.4.x on Windows

On 4/5/2012 3:04 PM, Ben Laurie wrote:
>
> Really? I totally haven't kept up, but last I knew mod_ssl used the
> whole bucket nightmare and did not need blocking connections.

It does when it goes to re-attempt a second read() for the HELO. If
that second chance won't block, it appears to barf.

Apache dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.