View Ticket
Not logged in
Ticket UUID: 8a7a49c47d7f200126402c10803e40dbad595c52
Title: Error reported for missing/non-readable repo during sync is not good
Status: Fixed Type: Code_Defect
Severity: Important Priority:
Subsystem: Resolution: Fixed
Last Modified: 2009-08-01 13:44:36
Version Found In: ce5eb40702
Description & Comments:
related to ticket 045f23be75. The error reported in that previous ticket is a sub-set of an html string returned. That returned error should be something more useful, and probably not even html. See 045f23be75 for how to generate an error, and what is returned as error msg.

drh added on 2009-08-01 13:44:36:
The error was occurring prior to parsing the HTTP request header and so the server did not know that it was dealing with sync protocol - it figured the request was an ordinary HTTP/HTML browser request. So it generates an HTML error message. The fix is to modify the client to detect HTML error messages and try to do something reasonable with them.

See check-in 80457ec79be10b32f372c69e0093c8fea7f0471b.