commit c49949008724c8b97419c7a87804f6496d485edc from: Thomas Adam via: Omar Polo date: Sat Nov 08 18:59:53 2025 UTC parser_serialize: fflush() If the amount of data being written to the FILE pointer ends up being a lot, it's worth fflush()ing on it here, rather then relying on specific callers to do so. This can happen if telescope is fetching HTML content from an HTTP proxy, for example. This helps to improve writes to disk, especially via the write-buffer command. commit - a77af524934247ae2952874c5968f46481e75699 commit + c49949008724c8b97419c7a87804f6496d485edc blob - 014b54dff527f8d39215f11fb6645dab5247798a blob + 381b5a46589ad393a4a0ad8df65d3935e0b3d2e6 --- parser.c +++ parser.c @@ -127,6 +127,7 @@ parser_serialize(struct buffer *b, FILE *fp) if (r == -1) return 0; } + fflush(fp); return 1; }