Opened 17 years ago

Last modified 17 years ago

#467 closed Defect

Error parsing the boinc_scheduler tag from master files — at Version 1

Reported by: Thyme Lawn Owned by: davea
Priority: Major Milestone: 5.10
Component: Client - Daemon Version:
Keywords: Cc:

Description (last modified by Nicolas)

There's a fault in the parsing of the "boinc_scheduler" syntax from project master files. It's been bugging me for ages that BOINC has to repeat every scheduler request to APS@home (the first request always gets an "HTTP file not found error").

I finally got round to investigating with Wireshark and found that the there is a difference in the POST lines. The first attempt is always

POST /APS_cgi/cgi"> HTTP/1.1

which always gets a 404 response. The second request is always

POST /APS_cgi/cgi HTTP/1.1

Investigation of the master file revealed that the error must be from the way the

<link rel="boinc_scheduler"href="http://www.apsathome.org/APS_cgi/cgi">

tag is being read, and here's the fix.

scheduler_op.C
309c309
<                 char* q2 = strchr(buf2, '\"');
---
>                 char* q2 = strchr(buf2, '"');

Change History (1)

comment:1 Changed 17 years ago by Nicolas

Description: modified (diff)

At last somebody found the cause! I was getting my server log full of those cgi"> entries.

Note: See TracTickets for help on using tickets.