libcups icon indicating copy to clipboard operation
libcups copied to clipboard

Windows Bad request line (Unknown error)

Open marco20240618 opened this issue 11 months ago • 2 comments

Describe the bug ipptool.exe -tv ipp://127.0.0.1/ipp/print get-printer-attributes.test no response

But linux ipptool works fine

To Reproduce Steps to reproduce the behavior:

  1. build the project with visual studio
  2. ippeveprinter.exe -p 631 test
  3. ipptool.exe -tv ipp://127.0.0.1/ipp/print get-printer-attributes.test
  4. ippeveprinter.exe will output localhost Bad request line (Unknown error).

Expected behavior ipptool.exe request gets correct response

Screenshots

Image

System Information:

  • OS: Ubuntu 24.04 LTS Windows 10.0.26100 Visual Studio 2022 SDK 10.0.22621.0
  • libcups version 3.0rc4

Additional context PS. the get-printer-attributes.test file

get-printer-attributes.test.txt

marco20240618 avatar Feb 06 '25 09:02 marco20240618

Seems like there are some different things happening right now with the current master branch that prevent me from even getting as far as testing ippeveprinter with ipptool...

michaelrsweet avatar Sep 24 '25 23:09 michaelrsweet

Getting a (weird) stack overflow in ipptool when the token_cb function is called for the initial open brace ("{"). Still trying to determine the cause as there is very little stack usage.

michaelrsweet avatar Sep 25 '25 21:09 michaelrsweet