[chan available]: TIP 287 patch available

(Printer friendly version)

Thursday I authored TIP 287 which proposes adding a [chan available] command to Tcl 8.5. This command would allow programmers at the Tcl level to introspect how much input is currently buffered & available to be read on a channel.

This command would be very useful to proactively avoid a potential class of DoS attacks on network daemons implementing line-oriented protocols (such as HTTP, SMTP, etc.)

This afternoon I finished my patch to implement the proposed functionality and uploaded it to SourceForge (TCL RFE #1586860).

I expect this TIP to be totally non-controversial and hope that the TCT will vote on it (and accept it! :-) prior to the December 1st feature freeze for Tcl 8.5.

—Michael A. Cleverly

Comments

Matt: [ mail | www | link ]

You are awesome. Keep up the good work.

Mon, 30 Oct 2006, 11:11

Dossy Shiobara: [ mail | www | link ]

Not to rain on your parade or anything, but how does [chan available] differ from [fconfigure channelId -queue] ?

Mon, 30 Oct 2006, 20:58

Michael A. Cleverly: [ mail | www | link ]

Dossy, I haven't encountered a version of Tcl that has an [fconfigure channelId -queue] . It isn't listed in the 8.4 or 8.5 man pages.

powerbook:~/sandbox/bin michael$ ./tclsh8.5
% info patchlevel
8.5a5
% set sock [socket www.tcl.tk 80]
sock5
% fconfigure $sock -queue
bad option "-queue": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, -translation, -peername, or -sockname
% fconfigure $sock
-blocking 1 -buffering full -buffersize 4096 -encoding utf-8 -eofchar {{} {}} -translation {auto crlf} -peername {209.17.146.136 tcl.activestate.com 80} -sockname {192.168.1.4 powerbook.home.cleverly.com 51815}

I suppose you could have a custom channel driver extension that implemented a -queue option, but I'm not familiar with (or remembering) one that does...

Mon, 30 Oct 2006, 21:57

Dossy Shiobara: [ mail | www | link ]
$ tclsh
% info patchlevel
8.4.12
% fconfigure stdin -queue
0 0
% fconfigure stdout -queue
0 0
% set fd [socket www.tcl.tk 80]
sock5
% fconfigure $fd -queue
bad option "-queue": should be one of -blocking, -buffering, -buffersize, -encoding,
-eofchar, -translation, -peername, or -sockname
Hmm. I wonder why -queue is available on stdin and stdout, but not file channels returned from [socket].

Tue, 31 Oct 2006, 16:12

Michael A. Cleverly: [ mail | www | link ]
I'm happy to note that a revised version of my tip was accepted in time to be included in Tcl 8.5.

Tue, 05 Dec 2006, 20:57

qqq: [ mail | www | link ]
gymshark leggings ugg outlet uggs outlet coach outlet under armour outlet coach outlet online supra shoes tennessee titans jerseys nike factory coach wallets air jordan qqq

Mon, 27 May 2019, 00:18

Call Girls in Gurgaon: [ mail | www | link ]
Call Girls in Gurgaon
Call Girl Gurgaon
Call Girls Gurgaon
Call Girl in Gurgaon
Gurgaon Call Girls
Gurgaon Call Girl
Gurgaon Escort
Gurgaon Escorts
escort in Gurgaon
escorts in Gurgaon
escorts in Gurgaon
Call Girls in Dwarka
Call Girl Dwarka
Call Girls Dwarka
Call Girl in Dwarka
Dwarka Call Girls
Dwarka Call Girl
Dwarka Escort
Dwarka Escorts
escort in dwarka
escorts in dwarka
escorts in dwarka
Call Girls in Gurgaon
Call Girl Gurgaon
Call Girls Gurgaon
Call Girl in Gurgaon
Gurgaon Call Girls
Gurgaon Call Girl
Gurgaon Escort
Gurgaon Escorts
escort in Gurgaon
escorts in Gurgaon
escorts in Gurgaon
Call Girls in sikanderpur gurgaon
Call Girls in sohna road gurgaon
Call Girls in mg road gurgaon
Call Girls in iffco chowk gurgaon
Call Girls in Haridwar
Call Girls in sushant lok
Call Girls in Gurgaon
Call Girls in Dehradun
Call Girls in electronic city
Call Girls in Noida
call girls in mumbai
plumbing company Toronto
plumbing company Mississauga
quickbooks support phone number
plumbing company Toronto

Tue, 24 Dec 2019, 01:15

spread: [ mail | www | link ]
compare spread betting companies spread betting how it works spread betting website spreadbetting demo spread bet companies points spread

Sun, 07 Jun 2020, 16:21

swisswatch: [ mail | www | link ]
There is one more thing you need to know on the back cover. Rolex Replica Watch has always used a smooth back cover. Except for the rare Sea Dweller and Milgauss, the back cover has a %93Rolex Oyster Original Gas Escape Escape Valve%94. Of course, the probability of buying these two replica watches is almost zero. So when you see a Rolex watch engraved with a text back, it is most likely a watches replicas .

Fri, 12 Jun 2020, 01:33

Rohan: [ mail | www | link ]
Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group Group

Sat, 18 Jul 2020, 04:15

alex: [ mail | www | link ]
It's a very useful blog. Thank you for getting a lot of information. 카지노사이트 파워볼사이트 토토사이트 안전놀이터 안전한놀이터 메이저사이트 비아그라구매

Thu, 17 Sep 2020, 02:31

Alex De Jandrio: [ mail | www | link ]
Connect with me read more Get Photos here Solution thread invest time in learning click here read more resume writing check this out read more read more read more check my profile here learn and read my notes

Sun, 18 Oct 2020, 13:54

TECH PAROL: [ mail | www | link ]

Excellent post. I was always checking this blog, and I%92m impressed! Extremely useful info specially the last part, I care for such information a lot. I was exploring this particular info for a long time. Thanks to this blog my exploration has ended.

Thu, 25 Mar 2021, 05:26

Tamara Yeo: [ mail | www | link ]
I saw a lot of website but I believe this one contains something special in it. tucson private detective

Thu, 08 Apr 2021, 02:11

tubi.tv/activate: [ mail | www | link ]
amazon.com/mytv amazon.com/redeem www.amazon.com/mytv.com www.amazon.com/code www.amazon.com/mytv enter code www.amazon.com/mytv www.amazon.com/mytv enter code amazon.com/mytv amazon.com/mytv amazon.com/mytv amazon.com/mytv www.amazon.com/code www.amazon.com/mytv.com www.amazon.com/mytv www.amazon.com/mytv www.amazon.com/mytv amazon.com/mytv www.amazon.com/code garmin map update garmin nuvi update garmin.com/express hulu.com/activate hulu.com/activate hulu.com/activate hulu.com/activate hulu.com/activate hulu.com/activate hulu.com/activate mcafee.com/activate mcafee.com/activate mcafee.com/activate mcafee.com/activate www.amazon.com/mytv amazon.com/code amazon.com/mytv enter my code www.amazon.com/mytv enter code www.amazon.com/mytv login mytv amazon.com/us/code amazon.com/mytv norton.com/setup Norton.com/setup key www.Norton.com/setup pbs.org/activate pbskids.org/activate pbs.org/activate pbs activate amazon.com/redeem amazon.com/redeem amazon.com/redeem roku/link roku.com/link activate code roku.com/link enter code roku.com/link www.roku.com/link www.roku.com/link showtimeanytime/activate showtimeanytime/activate tubi.tv/activate enter code tubi.tv/activate tubi.tv/activate xfinity.com/authorize roku xfinity.com/authorize www.xfinity.com/authorize xfinity.com/authorize xfinity.com/authorize roku trakt.tv/activate nfl.com/activate nfl.com/activate twitch.tv/activate twitch.tv/activate pluto.tv/activate pluto.tv/activate youtube.com/activate www.youtube.com/activate amazon.com/redeem amazon.com/mytv amazon.com/mytv hulu.com/activate netflix.com/activate netflix.com/activate espn.com/activate espn.com/activate espn.com/activate espn.com/activate amazon.com/redeem amazon.com/redeem plex.tv/link plex.tv/link amazon.com/mytv amazon.com/mytv amazon.com/mytv amazon.com/mytv cash app login cash app login

Thu, 08 Apr 2021, 07:30

Gigi Smith: [ mail | www | link ]
I think I've seen this film before developer

Tue, 22 Jun 2021, 18:39

anmol2zlato: [ mail | www | link ]
Thank you so much as you have been willing to share information with us. We will forever admire all you have done here because you have made my work as easy as ABC. But do you know about the "Canon Pixma MG2520 Setup " issue? No? This will help you.

Fri, 11 Feb 2022, 02:12

IDM Crack: [ mail | www | link ]
IDM Crack This software is a shareware download manager. It was granted by a company Tonec from America. This company is based in the city of America new York city. This software is only accessible for Microsoft windows. Meanwhile,

Tue, 22 Mar 2022, 04:33

Edraw Max Crack: [ mail | www | link ]
Edraw Max Crack Edraw Max Cracked Here is a useful place where you can easily find Activators, Patch, Full version software Free Download, License key, serial key, keygen, Activation Key and Torrents. Get all of these by easily just on a single click.

Tue, 22 Mar 2022, 07:48

Avast Driver Updater Crack: [ mail | www | link ]
Avast Driver Updater Crack Avast Driver Updater Cracked Here is a useful place where you can easily find Activators, Patch, Full version software Free Download, License key, serial key, keygen, Activation Key and Torrents. Get all of these by easily just on a single click.

Tue, 22 Mar 2022, 07:55

VyprVPN Crack: [ mail | www | link ]
VyprVPN Crack VyprVPN Crack Latest build 10734 here is astounding software that gives you prominent internet privacy, security, and ease with quick speed. The software is obtainable for any operating system like Windows, iOS, Mac, and Android.

Tue, 22 Mar 2022, 08:04

Start Menu X Crack: [ mail | www | link ]
Start Menu X Crack Start Menu X Crack is a software of the system menu management for professionals. The pro users are extra demanding, and this is not shocking%96 rather than a frivolous dozen of applications, they have hundreds.

Tue, 22 Mar 2022, 08:13

Autodesk Maya Crack: [ mail | www | link ]
Autodesk Maya Crack Autodesk Maya 2022.2 Crack combined, the designs that make up the hair and skincare and the management. It is a software application, ideal for creating animated animations and graphics.

Tue, 22 Mar 2022, 08:32

WinZip Pro Crack: [ mail | www | link ]
WinZip Pro Crack WinZip Pro Crack is a handy and powerful data compression and archiving device. It offers complete protection and security for your data. With it,.

Wed, 23 Mar 2022, 04:22

Sweet Home Crack: [ mail | www | link ]
Sweet Home 3D Crack Sweet Home 3D Crack for Mac allows you to design interiors quickly and easily. Draw rooms for each level of your property on a current floor plan image. Also, you can change the color or texture of each piece. Drag and drop furniture onto the map of the catalog organized by seasons (windows, entrances, hall, kitchen).

Wed, 23 Mar 2022, 04:34

Origin Pro Crack: [ mail | www | link ]
Origin Pro Crack Origin Pro Crack is an application associated with graph analysis and information evaluation. This application can be known as an aid to technical researchers and engineers because it makes its function much more viable.

Wed, 23 Mar 2022, 04:43

WinToUSB Crack: [ mail | www | link ]
WinToUSB Enterprise Crack WinToUSB Enterprise Crack is an intuitive device for putting a useful tool from a pen drive or a disk. The program will prove irreplaceable anywhere a computer does now not have a CD that may be a traditional DVD force. In addition, WinToUSB Enterprise Crack (additionally known as Windows To USB) is the best tool for Windows To Go Creator which lets you install and run a totally purposeful Windows device that is working a tough outside pressure or a USB flash force.

Wed, 23 Mar 2022, 04:51

ApowerMirror Crack: [ mail | www | link ]
ApowerMirror Crack ApowerMirror Crack is one of the most used screen mirroring apps that work on both iOS and Android devices. By installing this application on a computer running Microsoft Windows, you can easily mirror your phone screen on your desktop or laptop computer. Demos can be useful in a variety of scenarios, including file presentations, watching media on a large screen, sharing tutorials or tutorials, and more.

Wed, 23 Mar 2022, 05:03

Retail Man POS Crack: [ mail | www | link ]
Retail Man POS Crack Retail Man POS Crack the latest version turns your PC into an efficient pay-per-step program with inventory management and sales without additional hidden supplies. Retail Man Serial key Whenever a man imagined seeing a computer at every table, the concept likely focused on the conditions of the office, although it went viral simply because of its feasibility. Several currencies are supported in points of sale as well as in sales programs.

Wed, 23 Mar 2022, 05:11

AnyMP4 TransMate Crack: [ mail | www | link ]
AnyMP4 TransMate Crack AnyMP4 TransMate Crack is the best software ever released by the company. It is very famous for its user-friendly interface and, for the most part, people with computer skills do not need the training to operate this latest version of the software.

Wed, 23 Mar 2022, 05:18

Miracle Box Crack: [ mail | www | link ]
Miracle Box Crack license key Miracle Box Crack license key is a unique portable problem that is easy to manage with powerful software. Cell phone problems with software solutions affect all hardware and software activities of Android devices

Wed, 23 Mar 2022, 05:27

Advanced Host Monitor Crack: [ mail | www | link ]
Advanced Host Monitor Crack Advanced Host Monitor Crack is a professional network monitoring tool that includes multiple tests, alert modes, a powerful report manager, a log analyzer, and remote monitoring functions. Even though it has a lot of customization, the look is clean and simple

Wed, 23 Mar 2022, 05:34

Red Giant Shooter Suite Crack: [ mail | www | link ]
Red Giant Shooter Suite Crack Red Giant Shooter Suite Crack is the name of a software engineer specialized in audio and video editing and synchronization in the world of film and video creation.

Wed, 23 Mar 2022, 05:42

corn gluten meal price: [ mail | www | link ]

Procurement Resource presents the detailed price trends of over 500 products, that are frequently updated.

Mon, 28 Mar 2022, 06:08

Betmates: [ mail | www | link ]
이용이유가생기는곳 먹튀검증 안전노리터 go

Tue, 31 May 2022, 13:51

shivani: [ mail | www | link ]
Basically attempt to pick one substance that can as falter. This clearness with your post is surprising and that I might review that you're an expert on this issue. Escort in Bangalore Call girl in Bangalore Independent Call girl In Bangalore Escort Service in Bangalore Highprofile Call Girl in Bangalore Bangalore Escort

Thu, 02 Jun 2022, 23:00

BSEH 9th Blueprint Design 2023: [ mail | www | link ]
The board began holding 9th grade exams in March. The exams are divided into two semesters: Semester 1 and Semester 2. Applicants are now waiting for the announcement of the HBSE 9th Class Question Paper 2023 on its official website. In the month of March, the Haryana board administered 9th class examinations at several examination centres. BSEH 9th Blueprint Design 2023 A total of 5-6 lakh students took part in the test. Haryana Question Paper 2023 will be released in June. How to Download the HBSE 9th Class Question Paper 2023 HBSE board, people can Download Question Paper 2023 in one of two ways: online or by text message.

Mon, 06 Jun 2022, 06:19

good: [ mail | www | link ]
good

Sun, 12 Jun 2022, 21:49

welcome: [ mail | www | link ]
welcome

Sun, 12 Jun 2022, 21:49

Restoro License Key: [ mail | www | link ]
Restoro Crack Restoro 2.1.5.0 Crack With Activation Code Free Download Restoro 2.1.5.0 Crack is an application that is available for free in stores. The main use is to bring the data back. Also Visit My Blog https://sanicrackpc.com/ Now You can also Full Updated Cracked Version Free Download Here: Click Now

Tue, 21 Jun 2022, 11:09

Leave a comment

Name:  
Email: (optional)
URL: (optional)

Your comment: