You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to wrap my head around how instantiating multiple printers works. It looks like the functionality is close to existing since you can pass a pre-existing server into the Printer object. The problem is that onrequest is called on the server for every printer which is instantiated
so if I instantiate two printers with a pre-existing server and then send a print job to one of them the onrequest handler gets called twice and then it blows up because it is mutating the req._body field during each call
I'm trying to wrap my head around how instantiating multiple printers works. It looks like the functionality is close to existing since you can pass a pre-existing server into the Printer object. The problem is that
onrequest
is called on the server for every printer which is instantiatedipp-printer/lib/bind.js
Line 19 in f8c0969
onrequest
handler gets called twice and then it blows up because it is mutating the req._body field during each callipp-printer/lib/bind.js
Line 49 in f8c0969
The text was updated successfully, but these errors were encountered: