Re: Fixing more OpenSSL callback crashes

2017-04-14 Thread Tsuyoshi SASAMOTO
he return value of ___errno() (that is, the pointer to thread-local errno) is different. Sorry for the confusion. Tsuyoshi SASAMOTO nazon...@miobox.jp

Re: Fixing more OpenSSL callback crashes

2017-04-13 Thread Tsuyoshi SASAMOTO
rno.h https://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libc/port/gen/errno.c Tsuyoshi SASAMOTO nazon...@miobox.jp

[patch] http_protocol.c

2005-04-15 Thread Tsuyoshi SASAMOTO
1. RFC 2616 says The response (= 205 Reset Content) MUST NOT include an entity, and entity would be message body. 2. p / shouldn't be used. (cf. http://www.w3.org/TR/xhtml1/#C3 ) Tsuyoshi SASAMOTO [EMAIL PROTECTED] --- httpd/trunk/modules/http/http_protocol.cSat Apr 16 00:00:00 2005

[patch] cache_util.c

2005-04-10 Thread Tsuyoshi SASAMOTO
Adjust time unit and typo. Tsuyoshi SASAMOTO [EMAIL PROTECTED] --- httpd/trunk/modules/cache/cache_util.c Mon Apr 11 11:00:00 2005 +++ httpd/trunk/modules/cache/cache_util.c Mon Apr 11 11:00:00 2005 @@ -272,7 +272,7 @@ if (!(((smaxage != -1) age smaxage

Re^4: [patch] perchild.c

2004-08-02 Thread Tsuyoshi SASAMOTO
attached patch looks a bit simpler; does it look okay to you? Yes, it looks good and smart. # I wonder about intention of the original code `if (!body)`; # in what case could it occur... recvmsg() could fail? # If so, rather return value of the recvmsg() should be checked... Tsuyoshi SASAMOTO

Re^2: [patch] perchild.c

2004-08-01 Thread Tsuyoshi SASAMOTO
` !!! -- So, `headerslen` should be `body - 1 - headers`. Tsuyoshi SASAMOTO [EMAIL PROTECTED]

[patch] perchild.c (Re: setjmp/longjmp vs try/throw/catch)

2004-07-20 Thread Tsuyoshi SASAMOTO
to this discussion about thread safety of setjmp/longjmp: http://groups.google.com/[EMAIL PROTECTED] And... in perchild.c, I found setjmp/longjmp is used unsafely (one jmpbuffer is shared by all threads). Tsuyoshi SASAMOTO [EMAIL PROTECTED] --- httpd-2.0/server/mpm/experimental/perchild/perchild.c

Re: nroff man pages going away

2002-11-09 Thread Tsuyoshi SASAMOTO
So the choices are: : 3. Convert to xml, and find a way to generate nroff from the xml so that we can continue to distribute man pages. As a hint... Solaris has SGML man docs. /usr/lib/sgml/sgml2roff can be used to convert SGML docs to roff ones. Tsuyoshi SASAMOTO [EMAIL PROTECTED]

Re: perchild under Solaris 8

2002-09-11 Thread Tsuyoshi SASAMOTO
Looks like we should be using the later, for Unix 95. Doesn't appear that we need Unix 98 But... there's no reason to avoid using -D_XOPEN_SOURCE=500. I've built perchild httpd with -D_XOPEN_SOURCE=500 -D__EXTENSIONS__, and it works well. Tsuyoshi SASAMOTO [EMAIL PROTECTED]

Re: perchild under Solaris 8

2002-09-10 Thread Tsuyoshi SASAMOTO
processes. recvmsg(3XNET), which is actually mapped to __xnet_recvmsg(), has the UNIX95 semantics, and recvmsg(3SOCKET) has the traditional SunOS4.x semantics. Both can be used for FD passing. Tsuyoshi SASAMOTO [EMAIL PROTECTED]

Perchild on Solaris (was: Perchild works again.... kind of)

2002-08-19 Thread Tsuyoshi SASAMOTO
MPM, T2 thread lib T1 thread lib (But the difference is smaller than the perchild MPM). With the perchild MPM and the T2 thread lib, mutex contention may cause performance penalty, I guess... Tsuyoshi SASAMOTO [EMAIL PROTECTED]

Re: Perchild on Solaris

2002-08-19 Thread Tsuyoshi SASAMOTO
for client) that are suitable for load test. So, absolute values of those result are not so meaningful, and I want those result to be treated as a relative comparison between T1 and T2 thread lib. Tsuyoshi SASAMOTO [EMAIL PROTECTED]

Re: Perchild on Solaris

2002-08-19 Thread Tsuyoshi SASAMOTO
config was: Options All MultiViews AllowOverride All I was interested in the relative comparison between T1 and T2 threads, so httpd.conf itself was not tuned well... Under config you suggested above and so on, the result is as below. Tsuyoshi SASAMOTO [EMAIL PROTECTED