curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Using curl to test if a port is open: exit immediately upon connection if STDIN is /dev/null

From: Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>
Date: Sun, 24 Apr 2022 23:10:05 +0200 (CEST)

On Thu, 21 Apr 2022, Robin A. Meade via curl-users wrote:

> Make curl exit immediately with code 0 upon successful telnet connection if
> STDIN is initially EOF.

Seems like a fair idea. But do note that we are drowning in good ideas.

I added a mention of it here:

https://curl.se/docs/todo.html#exit_immediately_upon_connection

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-04-24