Support sending large data sets

Issue #21 resolved
Mihael Schmidt repo owner created an issue

The send procedure only supports 65536 bytes of data to be sent. For some cases this might not suffice.

The idea is to split the whole process of sending the data into three steps:

  1. add header to send buffer
  2. add data to buffer
  3. signal finish

The procedure for the second step may be invoked several times.

The third step just sets the connection flag.

droplet_service_setFlag(connection : MONGOOSE_FLAG_SEND_AND_CLOSE);

Comments (2)

  1. Mihael Schmidt reporter

    added support for large data sets, resolved issue #21

    • added mongoose prototypes for chunked data
    • added procedures for sending header and chunked data

    → <<cset 179aed3ecf9f>>

  2. Log in to comment