Skip to content

feedback: Module socket | Tarantool #3282

Open
@TarantoolBot

Description

@TarantoolBot

Product: Tarantool
SME: @ locker

Details

<…>n read, or a delimiter
has been read, or a timeout has expired.
|Unlike socket_object:recv (which uses an internal read-ahead buffer),
socket_object:read depends on the socket’s buffer.|

https://www.tarantool.io/en/doc/latest/reference/reference_lua/socket/#lua-function.socket_object.read

As I see from the implementation, :recv() directly reads the socket, while :read() uses a read ahead buffer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    factual errorFactual error in functionality descriptionreference[location] Tarantool manual, Reference partserver[area] Task relates to Tarantool's server (core) functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions