fix stream in httptaskcurl