[181] in 6.033-lab

home help back first fref pref prev next nref lref last post

bug fixed in http.c

daemon@ATHENA.MIT.EDU (Benjie Chen)
Tue Mar 7 07:48:05 2000

From: Benjie Chen <benjie@cag.lcs.mit.edu>
Message-Id: <200003071247.HAA10176@amsterdam.lcs.mit.edu>
To: 6.033-lab@MIT.EDU
Date: Tue, 7 Mar 2000 07:47:57 -0500 (EST)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


The old version of http.c counted CR followed by LF as two separate lines.
I fixed this bug. I placed the new http.c in the locker. gen.c in that
directory generates the necessary test case to test parsing CR and LF. You
can modify gen.c to generate different outputs to test the parser or your
proxy.

Thanks to Timo for pointing out the bug. Good luck guys.

Benjie

-- 
Benjie Chen
benjie@lcs.mit.edu

home help back first fref pref prev next nref lref last post