Approved! When I test in trunk, the tab in firefox is broken after
clicking the button - I can't reload, nothing until I restart the
browser... With the change applied, everything is cool!
Henry Minsky wrote:
Change 20080215-hqm-3 by [EMAIL PROTECTED] on 2008-02-15 16:26:13 EST
in /Users/hqm/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: make sure LPS server data proxy will close http connection if
errors occur
New Features:
Bugs Fixed: LPP-5440
Technical Reviewer: max
QA Reviewer: pkang
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
If an ill-formed or empty document causes an error in the XML proxy
server, it can
leave the HTTP connection open, causing hangs on the client.
This forces the stream to close on any error.
I don't know how to easily throw an error asynchronously to the parent
thread in Java, so we are just closing the connection for now.
Tests:
see bug report for test case
Files:
M WEB-INF/lps/server/src/org/openlaszlo/data/XMLGrabber.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080215-hqm-3.tar
--
Regards,
Max Carlson
OpenLaszlo.org