Using the gtk print backend with CUPS and SSL



With the patches referenced in http://bugzilla.gnome.org/show_bug.cgi?id=451070 I've been able to get a list of printers from my local CUPS server which requires SSL. However, it takes a long time with a ~30 second wait for a response from the CUPS server while the whole gtk app blocks. I bet this is due to the app opening an initializing dozens of SSL sockets to the server - a new one for each request, without closing any of them. Eventually the server will respond to the last connection, and the printer list will fill. Does anybody have any tips for the best way to go about re-using one SSL socket for those requests, or at least closing the connection after each request?

Thanks,
Vince



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]