chaokunyang commented on code in PR #3374:
URL: https://github.com/apache/fory/pull/3374#discussion_r2890280494


##########
go/fory/buffer.go:
##########
@@ -877,7 +1002,7 @@ func (b *ByteBuffer) WriteVaruint36Small(value uint64) {
 //
 //go:inline
 func (b *ByteBuffer) ReadVaruint36Small(err *Error) uint64 {
-       if b.remaining() >= 8 {
+       if b.remaining() >= 8 || (b.reader != nil && b.fill(8, nil)) {

Review Comment:
   If it's a network stream ,and write don't close teh stream, then the stream 
EOF never come, this will just hang forever



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to