Closed Hanaasagi closed 1 year ago
Thank you!
@mtshiba Firstly, thank you for your correction. But there still exist some problems.
The following code uses sockets to send data to the client twice, although it involves two system calls. However, TCP is a stream-based protocol, so the client may receive the merged data while reading it sequentially.
So there should be startswith
, not match
a string.
https://github.com/erg-lang/erg/blob/b444fcac2c6025894e85fdfad691ab6b8f2a93af/src/dummy.rs#L207-L212
Fixes https://github.com/erg-lang/erg/issues/419.
This is a brief description.
@mtshiba