Sergey Kovalev

Results 7 comments of Sergey Kovalev

The same issue. OS: Windows 10 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.18.4 (GitTag) Build type: Release Branch: releases/FreeCAD-0-18 Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8 Python version: 3.6.6 Qt...

Indeed, seems it's issue of freecad 18.4. It does not update any object when changed. Updated to 19 alpha, everything works. Thank you!

I just figured out that we need to change position of callbacks in http_parser_settings structure to keep it backward-compatible. I'll update PR and then will do short example. ...also, i...

Short example on how it can be used: ``` std::string hdr; static int headers_raw(http_parser*parser, const char *at, size_t length) { hdr.append(at, length); } static int headers_complete(http_parser*parser) { do_anything_when_headers_received(); send(fd, hdr.c_str(),...

@bnoordhuis, I don't insist, but these additions extend the limits of applicability of the parser. Writing transparent proxy with support of keep-alive and pipelining very difficult (if possible at all)...

@bnoordhuis, there are different tasks for proxying. Main goal of raw callbacks is to keep control of request/response sequence without need of reassembling stream before forwarding.

@indutny it's possible, sure. But don't sure that it can significantly affect performance - checks executed mosly once per call and per request/response switch.