[Nagiosplug-devel] [ nagiosplug-Bugs-3614716 ] np_net_ssl_read fails to take SSL_WANT_READ into account
William Leibzon
william at leibzon.org
Tue Jul 16 23:16:30 CEST 2013
Well, you can't just continue to retry forever. There is of course
general plugin timeout, but here it should have a limit on a number of
retries too.
> int np_net_ssl_read(void *buf, int num) {
> int rc;
> do {
> rc = SSL_read(s, buf, num);
> } while ((rc < 0) && (SSL_get_error(s, rc) == SSL_ERROR_WANT_READ));
> return rc;
> }
>
> ----------------------------------------------------------------------
>
> Comment By: Pepijn Schmitz (pepijn)
> Date: 2013-07-16 07:19
>
> Message:
> This is in release 1.4.16.
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3614716&group_id=29880
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________________
> Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
More information about the Devel
mailing list