Opened 17 years ago
Last modified 17 years ago
#467 closed Defect
Error parsing the boinc_scheduler tag from master files — at Initial Version
Reported by: | Thyme Lawn | Owned by: | davea |
---|---|---|---|
Priority: | Major | Milestone: | 5.10 |
Component: | Client - Daemon | Version: | |
Keywords: | Cc: |
Description
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, '"');