Ignore:
Timestamp:
Jul 18, 2012, 1:20:51 AM (13 years ago)
Author:
dmik
Message:

icedtea-web: Disable pipe input callback on error to prevent spamming.

This fixes 100% CPU load in case of some communication error between
the plugin and appviewer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/icedtea-web/plugin/icedteanp/IcedTeaNPPlugin.cc

    r385 r394  
    12321232          else
    12331233            PLUGIN_ERROR ("Failed to read line from input channel");
     1234#ifdef __OS2__
     1235          // G_IO_ERR/HUP is not reported on file/pipe handles, simulate it
     1236          condition = (GIOCondition) (condition | G_IO_ERR);
     1237#endif
    12341238        } else
    12351239        {
Note: See TracChangeset for help on using the changeset viewer.