Skip to content
#

client

Here are 5,477 public repositories matching this topic...

curl

A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET and TFTP. libcurl offers a myriad of powerful features

  • Updated Dec 1, 2021
  • C
kaddkaka
kaddkaka commented Nov 19, 2021

Context
In some scenarios we have a bad system set up with loud speakers and sensitive microphones in both ends.

  1. On one end it's an open microphone in an office room that is supposed to be useable for anyone in the room (so not possible to use push-to-talk on that end).
  2. In the other end there is a laptop with loudspeakers, builtin microphone and sometimes long latency connections (
ronag
ronag commented Dec 1, 2021

This is a common helper function we use when we don't care about the content body. I'm thinking it would be nice to somehow integrate with out API?

async function dump (res) {
  let limit = 1e6
  try {
    for await (const chunk of res.body) {
      limit -= Buffer.byteLength(chunk)
      if (limit < 0) {
        return
      }
    }
  } catch {
    // Do nothing
  }
}

Improve this page

Add a description, image, and links to the client topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the client topic, visit your repo's landing page and select "manage topics."

Learn more