[Xitami-Dev] LRWP C++ Wrapper and multithreaded app support anyone?
Fabien Royer
xitami-dev@lists.xitami.org
Wed, 12 Jun 2002 11:18:24 -0400
Hello,
>From: Rafael Cano Pérez <rafael.cano@o-labs.com>
>Reply-To: xitami-dev@lists.xitami.org
>To: <xitami-dev@lists.xitami.org>
>Subject: RE: [Xitami-Dev] LRWP C++ Wrapper and multithreaded app support
>anyone?
>Date: Wed, 12 Jun 2002 09:48:45 +0200
>
>
> Hi.
>
> LRWP is a protocol, and has nothing to do with
> SFL, as a C callable library. All that has to be
> done is open a socket, read from and write to it.
> How you reach the WINSOCK library its not relevant.
That's my point exactly.
That's why SFL should not be involved in the LRWP C lib. You'd think that
this could have been done the first time around ;-)
> By the way, what do you mean SFL requires single
> threading?, I think it all depends how you build
> it, to which specific libc library you link it to
> resolve the basic WIN32 API functions, SFL calls.
Not quite. Building SFL (and the other Xitami libs) with the multithreaded
C runtime libs under Windows ends up affecting Xitami negatively (dies after
a few seconds or so).
> Has any one thought of building specifications
> for a LRWP 3, with compression and encryption?
I use zlib for the compression and BlowFish for encryption. But I have kept
these layers separate from LRWP itself. It makes things a lot cleaner to
reuse.
Anyways, I end up writing a C++ version of LRWP in about a day with a few
performance optimizations regarding memory allocation and the ability to
save posted data to disk.
Regards,
Fabien.
> Regards,
>
>
> I miss Liberetto.
>
>
>
> Rafael Cano Pérez
>
>
>
>-----Mensaje original-----
>De: xitami-dev-admin@lists.xitami.org
>[mailto:xitami-dev-admin@lists.xitami.org]En nombre de Fabien Royer
>Enviado el: martes, 11 de junio de 2002 23:14
>Para: xitami-dev@lists.xitami.org
>Asunto: [Xitami-Dev] LRWP C++ Wrapper and multithreaded app support
>anyone?
>
>
>Hi there,
>
>I am just about to re-write a C++ version of the LRWP C library (out of
>frustration), capable of supporting multithreaded operations (under Windows
>for now).
>
>Before re-inventing the wheel, I'd like to know if someone has already done
>this? A quick Google search came out with nothing on the subject.
>
>IMHO, the fact that the current implementation of the LRWP C lib is bound
>to
>SFL (which requires single threading) is a mistake. While SFL makes perfect
>sense in the context of the architecture of Xitami, LRWP as a protocol
>should be designed with applications in mind and therefore should be
>agnostic to threading issues. This limitation is probably what has been
>holding LRWP back from being more popular (compared to FastCGI for
>instance).
>
>Don't get me wrong. I *love* Xitami and how it is put together.
>
>Regards,
>Fabien.
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
>
>
>--
>Xitami-Dev -- Xitami Development Mailing List
>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami-dev
>
>
>--
>Xitami-Dev -- Xitami Development Mailing List
>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami-dev
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx