Opened 3 months ago

Closed 3 months ago

#20893 closed enhancement (fixed)

cups-browsed-2.1.1

Reported by: Douglas R. Reno Owned by: Douglas R. Reno
Priority: normal Milestone: 12.3
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New point version

Change History (3)

comment:1 by Douglas R. Reno, 3 months ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:2 by Douglas R. Reno, 3 months ago

Bug fix release, especially to fix the problem that cups-browsed sometimes gets stuck with 100% CPU.

  • Do not use global HTTP connection to local CUPS

cups-browsed used a simple HTTP connection to CUPS and preserved it in a global variable throughout its whole life. With the addition of multi-threading this caused race-conditions and especially cups-browsed getting stuck in a busy loop. Now we create separate HTTP connections each time we need one, to eliminate this problem

  • Fix uninitialized make_model in create_queue()

Initialized the buffer by putting a terminating zero to its beginning, also removed a wrong use of sizeof()

comment:3 by Douglas R. Reno, 3 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.