Move stream type to stack and fix the memory error about pipeline.
Move stream type to stack and fix the memory error about pipeline.

LinkedDestiny/swoole-src,swoole/swoole-src,LinkedDestiny/swoole-src,swoole/swoole-src,swoole/swoole-src,LinkedDestiny/swoole-src,swoole/swoole-src,swoole/swoole-src,swoole/swoole-src,LinkedDestiny/swoole-src,LinkedDestiny/swoole-src,swoole/swoole-src,LinkedDestiny/swoole-src,LinkedDestiny/swoole-src