[sr-dev] git:5.3:4ba9945e: core: parse main headers after updating msg buffer