Opened 8 years ago

Closed 8 years ago

#7146 closed defect (duplicate)

LuCI gives XML errors on Software and System pages

Reported by: Daniel Dickinson <cshore@…> Owned by: jow
Priority: high Milestone: Backfire 10.03.1
Component: luci Version: Backfire 10.03
Keywords: Cc:


This is because the page is not fully transmitted to the browser ... you only get part of the page, which upsets the browser.

This is probably a uhttpd problem. My guess is it doesn't wait long enough for the CGI to produce it's output.

Attachments (0)

Change History (4)

comment:1 Changed 8 years ago by flux

comment:2 Changed 8 years ago by thepeople

  • Owner set to jow
  • Status changed from new to assigned

comment:3 Changed 8 years ago by anonymous

This patch should fix it (see #7067):

Index: package/uhttpd/src/uhttpd-utils.c
--- package/uhttpd/src/uhttpd-utils.c	(revision 20527)
+++ package/uhttpd/src/uhttpd-utils.c	(working copy)
@@ -116,7 +116,7 @@
 	FD_SET(cl->socket, &writer);
-	timeout.tv_sec = 0;
+	timeout.tv_sec = 10;
 	timeout.tv_usec = 500000;
 	if( select(cl->socket + 1, NULL, &writer, NULL, &timeout) > 0 )

comment:4 Changed 8 years ago by jow

  • Resolution set to duplicate
  • Status changed from assigned to closed

see #7067

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.