Don't exit on eof in header reading in stdcopy Upstream-commit: 4dcf4e9bd0e9c68369dd73fb8dfbf419e0ab68d6 Component: engine