-
-
Notifications
You must be signed in to change notification settings - Fork 474
Description
(2022-02-18 08:12:02) [INFO ] Request: 10.5.5.2:51553 0x5650de036360 HTTP/1.1 GET /api/load-project
(2022-02-18 08:12:02) [DEBUG ] - MESSAGE: hello
(2022-02-18 08:12:02) [DEBUG ] Matched rule '/api/load-project' 1 / 10
(2022-02-18 08:12:02) [INFO ] Loading project test1
(2022-02-18 08:12:02) [INFO ] {"projectName":"test1","imageName":"20220127162725.png","worldOrigin":{"y":0,"x":0},"ratioWorldImage":1,"locators":[]}
(2022-02-18 08:12:02) [INFO ] Response: 0x5650de036360 /api/load-project?projectName=test1 200 0
(2022-02-18 08:12:02) [DEBUG ] 0x5650de036360 timer cancelled: 0x7ffa95777ac0 4
(2022-02-18 08:12:02) [DEBUG ] task_timer cancelled: 0x7ffa95777ac0 4
(2022-02-18 08:12:02) [DEBUG ] task_timer scheduled: 0x7ffa95777ac0 5
(2022-02-18 08:12:02) [DEBUG ] 0x5650de036360 timer added: 0x7ffa95777ac0 5
(2022-02-18 08:12:02) [DEBUG ] 0x5650de036360 timer cancelled: 0x7ffa95777ac0 5
(2022-02-18 08:12:02) [DEBUG ] task_timer cancelled: 0x7ffa95777ac0 5
(2022-02-18 08:12:02) [INFO ] Request: 10.5.5.2:51553 0x5650de036360 HTTP/1.1 GET /img/test1/202201
(2022-02-18 08:12:02) [DEBUG ] - MESSAGE: hello
(2022-02-18 08:12:02) [DEBUG ] Matched rule '/img/' 1 / 2
(2022-02-18 08:12:02) [INFO ] req.url_params: [ ]
(2022-02-18 08:12:02) [INFO ] req.url: /img/test1/202201
(2022-02-18 08:12:02) [INFO ] req.raw_url: /img/test1/20220127162725.png
(2022-02-18 08:12:02) [INFO ] ../project/test1/202201
(2022-02-18 08:12:02) [INFO ] -1
(2022-02-18 08:12:02) [INFO ] ../project/test1/202201
(2022-02-18 08:12:02) [INFO ] Response: 0x5650de036360 /img/test1/20220127162725.png 404 0
GET /api/load-project?projectName=test1
followed by:
GET /img/test1/20220127162725.png
Raw_url of the second GET is "/img/test1/20220127162725.png", however, url is parsed as "/img/test1/202201". Seems that the "qs_point" in http_parser is not reset to 0 before the second GET request.