Remove not needed chunking code

This commit is contained in:
Kovid Goyal
2022-08-30 21:36:43 +05:30
parent 192eccc6cc
commit b5e2871aa0
3 changed files with 6 additions and 23 deletions

View File

@@ -44,7 +44,7 @@ func do_chunked_io(io_data *rc_io_data) (serialized_response []byte, err error)
}
lp.OnInitialize = func() (string, error) {
chunk, err := io_data.next_chunk(false)
chunk, err := io_data.next_chunk()
if err != nil {
return "", err
}
@@ -62,7 +62,7 @@ func do_chunked_io(io_data *rc_io_data) (serialized_response []byte, err error)
}
return nil
}
chunk, err := io_data.next_chunk(false)
chunk, err := io_data.next_chunk()
if err != nil {
return err
}