mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
parent
43a93f1e6e
commit
bc75467e44
@ -218,7 +218,7 @@ func (p *THttpClient) RemainingBytes() (num_bytes uint64) {
|
||||
}
|
||||
|
||||
const maxSize = ^uint64(0)
|
||||
return maxSize // the thruth is, we just don't know unless framed is used
|
||||
return maxSize // the truth is, we just don't know unless framed is used
|
||||
}
|
||||
|
||||
// Deprecated: Use NewTHttpClientTransportFactory instead.
|
||||
|
@ -210,5 +210,5 @@ func (p *StreamTransport) WriteString(s string) (n int, err error) {
|
||||
|
||||
func (p *StreamTransport) RemainingBytes() (num_bytes uint64) {
|
||||
const maxSize = ^uint64(0)
|
||||
return maxSize // the thruth is, we just don't know unless framed is used
|
||||
return maxSize // the truth is, we just don't know unless framed is used
|
||||
}
|
||||
|
@ -172,5 +172,5 @@ func (p *TSSLSocket) Interrupt() error {
|
||||
|
||||
func (p *TSSLSocket) RemainingBytes() (num_bytes uint64) {
|
||||
const maxSize = ^uint64(0)
|
||||
return maxSize // the thruth is, we just don't know unless framed is used
|
||||
return maxSize // the truth is, we just don't know unless framed is used
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user