cURL / Mailing Lists / curl-library / Single Mail

curl-library

Propose patches for the Telnet protocol

From: <laurent.rabret_at_orange.com>
Date: Tue, 22 Nov 2011 23:39:57 +0100

Hi,
Please, find attached a patch proposing 3 evolutions for the libcurl Telnet protocol.
1) Telnet now supports the "Window Size" option. To enable it, just add "WS=widthxheight" in the curl_slist structure sent thanks to the CURLOPT_TELNETOPTIONS option (do not forget the 'x' as a separator between width and height;
2) Libcurl now accepts ECHO requests sent by the server (why it was not enabled?)
3) It is possible to force the lib to disable the BINARY option which is on by default. To do so, just add "BINARY=0" in the curl_slist structure.

Regards
Laurent

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci

This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorization. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange shall not be liable if this message was modified, changed or falsified. Thank you.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2011-11-22