FogBugz (Case [Issue]10908) Zinc - Three tests failing on Windows: ZnServerTests

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FogBugz (Case [Issue]10908) Zinc - Three tests failing on Windows: ZnServerTests

Pharo Issue Tracker
A FogBugz case was edited by Sven Van Caekenberghe.

Case ID:      10908
Title:        Three tests failing on Windows: ZnServerTests
Status:       Work Needed
Category:     Failing Test
Project:      Zinc
Area:         Misc
Priority:     3 - Must Fix
Milestone:    Pharo3.0: 30/03/2014
Assigned To:  Sven Van Caekenberghe

URL:          https://pharo.fogbugz.com/default.asp?10908

What these tests check is the following behaviour.

When ZnServer code reads incoming requests, it protects itself from resource abuse. Request and header lines, uploaded entities and the number of headers should be reasonable. This has been in Zn for a long time. The old behaviour was to throw an exception and do a hard close on the connection. Since some time, Zn actually returns a bad request (400). These 3 tests and #testTooManyHeaders check this.

Now, these tests do pass on Linux & Mac OS X. And #testTooManyHeaders is similar but does not seem to fail.

The stack trace shows that the test client does not get a response at all, it fails reading the (first) status line of the response.

I think that due to some subtle difference in socket [stream] behaviour either the server cannot write the response or it does not arrive at the client.


You are subscribed to this case.  If you do not want to receive automatic notifications in the future, unsubscribe (https://pharo.fogbugz.com/default.asp?pre=preUnsubscribe&pg=pgEditBug&command=view&ixBug=10908) from this case.

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker