Skip to content

[BUG] this is undefined in h3_server.js; passing different port doesn't change port #3

Description

@guest271314

🔹 QUICO version

(e.g. v0.9.2 or commit hash)

🔹 Role

☐x Server ☐ Client ☐ Both

🔹 TLS / Crypto (if relevant)

  • Certificate: self-signed / valid
  • Algorithm: RSA / ECDSA / Ed25519
  • Cipher suite:
  • 0-RTT or resumption: yes / no

🔹 To reproduce

Fetch repository, try to run WebTransport server example.

🔹 Logs / Output

file:///media/user/1/quico/h3_server.js:415
      this[k] = api[k];
              ^

TypeError: Cannot set properties of undefined (setting 'context')
    at createServer (file:///media/user/1/quico/h3_server.js:415:15)
    at file:///media/user/86af3b7b-78ec-45e7-8a6f-299cd3d770e4/quico/examples/webtransport_datagram_echo_server/server.js:12:14
    at ModuleJob.run (node:internal/modules/esm/module_job:413:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:660:26)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5)

🔹 Extra info

Anything else useful (packet trace, timing, specific conditions).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions