Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0daf1df9daf8bbc1e03d569597a1d53c39429124b600f0ae4ae3516f28ef16a4
Ticket: 8c3de5039a95a1a173c0ddfb7b5d27cae0d20fad
geturl not working with registered protocols except tls
User & Date: anonymous on 2023-10-07 19:33:04
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    Attached script worked with http versions 2.9.8 and 2.10a1 and using tls or twapi for https sockets.
    Current http version does not work with twapi anymore.
    Error message is as follows:
    Invalid option '-type'. 
    Must be one of -myaddr, -myport, -async, -socketcmd, -server, -peersubject, -requestclientcert, -credentials, -verifier
    
    This seems to be caused by the new option "-type $token" when creating the openCmd:
    set state(openCmd) [list {*}$defcmd {*}$sockopts -type  $token {*}$targetAddr]
    
    If I remove the "-type" option, geturl works with twapi and tls:
    set state(openCmd) [list {*}$defcmd {*}$sockopts {*}$targetAddr]
    
    Paul
    
  5. foundin changed to: "2.10b1"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "2e499ca9e0149983f6f63603feedc5b33bc05f5e"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "29. http Package"
  15. title changed to: "geturl not working with twapi::tls_socket anymore"
  16. type changed to: "Bug"