httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <hart...@hyperreal.com>
Subject CGI improvement (fwd)
Date Wed, 01 Nov 1995 17:09:43 GMT

no ack sent

Forwarded message:
> From malyshki@n21.physics.wmich.edu  Tue Oct 31 19:49:04 1995
> Date: Tue, 31 Oct 95 23:37:43 +0300
> From: Vladislav Malyshkin <malyshki@n21.physics.wmich.edu>
> Message-Id: <9510312037.AA02190@n21.physics.wmich.edu>
> To: apache-bugs@apache.org
> Subject: CGI improvement
> 
> Dear Sir,
> This is not a apache bug. 
> I am writing about file cgi-src/util.c
> The function fmakeword, that uses for reading parameters in CGI scripts 
> requires at least 102400 bytes memory FOR EARCH CGI PARAMETER. 
> This is too much. It is possible to do exactly the same 
> function, but use ONLY NECESSARY MEMORY. 
> Similar problem (but not so big) is with the function makeword
> this function uses  malloc, but it is possible to do exactly the 
> same without malloc. 
> 
> I am sending a tst_gtw.zip file where two this function is 
> modified. After this modification CGI- scripts will use ONLY NECESSARY MEMORY.
> 
> Sincerely,
> Vladislav Malyshkin
> 
> begin 600 tst_gtw.zip
> M4$L#!!0````(`)&V-Q\:36";0````'8````'````8V]M<&EL94M/3E;0S5<H
> M*2Z)3T\M4=`-3\S)4=!U\74-<;$UA`B7E.LE<R5GY.:G*)@;&L*4<J4C=!;D
> M%Z-I-<*I%:26"P!02P,$%`````@`RK@W'RX",,3W`P``:@X```H```!R96%D
> M7W!R;2YC[5;?;]LV$'[77W'-`,=RE#;-T(?-U8!A<].BKM,E+K!A*`19/MM$
> M)5(0*5M>X/]]1^J'*<MQL6%H7L:')"+O>,>[[[XOSHL!)&'!DC"&&/E2K4`L
> M0.:SA"F%<Y`J8WP)@Q?.=W-<,([PX>??@_%'N'[URG'4-D7:UE9YI.#!`5K1
> M*LQ@P,,$A];W.HR'S@Z0JVP[=*0*%8O*+_.3H?Q3WSR:3._>C>X_#QT'"X49
> MK]R7J)"O^Y'@4E5;[K!MDH1?<".R>9#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E2C3->26
> MY_DZV5DW</56[YCG!BVW54_*XZ\ME'3W;M1(*-"K2?C'].GJ9?;Q[YO;SRY;
> MKHZG[YZ>KN;:BNG+P\:%0LAME.-D;&^;L!W>JXX<-&^IFM1B$:S&%97C@`*<
> M(NCQIM["-I;PS'F!8245CR5^E^$(.<<SW>CIK#H;@R6_B#W46ZXXBQ/*T@#D
> MU)/\#U!+`0(4`Q0````(`)&V-Q\:36";0````'8````'``````````$```#`
> M@0````!C;VUP:6QE4$L!`A0#%`````@`RK@W'RX",,3W`P``:@X```H`````
> M`````0```("!90```')E861?<')M+F-02P$"%`,4````"`#TMC<?B*P*)Y8!
> M```R`P``"0`````````!````@(&$!```='-T7V=T=RYC4$L!`A0#%`````@`
> M-9;:'O%,QSPI!```(@P```@``````````0```("!008``'5T:6Q?;2YC4$L%
> 3!@`````$``0`V@```)`*````````
> `
> end
> 


Mime
View raw message