Hi, Mark,

Thank you for the response.

I've switched to mod_python-based approach because:
- It should be closer to what real web sites would do.
   (See a comment by ap@: https://bugs.webkit.org/show_bug.cgi?id=27490#c3)
- I thought extending httpd is preferred to adding a new thing.
(See a comment by eric@: https://bugs.webkit.org/show_bug.cgi?id=27491#c7)
   Maybe I misunderstood the intention.
- I don't have to worry about SSL (mod_ssl would do it)

And, I thought there is a way to install extension modules to the
development httpd.
Would installing mod_python and mod_pywebsocket be very difficult?

Then perhaps I need to write an adapter to call mod_pywebsocket from
a standalone Python web server such as SimpleHTTPServer-derived one.
(SSL could be an issue here. Python 2.3 doesn't have a module for SSL and
we need
to use a third party module such as pyOpenSSL. How easy it is to add
a third party Python module to WebKit development environment?)

Yuzo

On Tue, Sep 8, 2009 at 11:21 AM, Mark Rowe<[email protected]> wrote:

On 2009-09-07, at 18:28, Yuzo Fujishima wrote:

Hi, webkit-dev,

I'd like to propose to use mod_pywebsocket
http://code.google.com/p/pywebsocket/
to test WebKit's implementation of Web Socket.

To do that, we need to install mod_python and mod_pywebsocket to
the Apache HTTP server used for testing WebKit. (I assume mod_ssl is
already there.)

I think I can modify .conf files under LayoutTests/http/conf but need
instruction
as to how to ensure that each test server has mod_python and
mod_pywebsocket
installed. Can anyone help? Any pointers or examples?

The WebKit regression tests use the system version of Apache on each
platform that they run on.  mod_python and mod_pywebsocket are not Apache
modules that are included out of the box on most platforms, which makes
them
difficult to use in our regression tests.  I recall work was done on a
server implementation for WebSocket regression testing that was written
purely in Python.  What happened to that?  Why was that simple approach
dropped in favor of an approach that requires multiple third-party Apache
modules to be built and installed?

- Mark



_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to