{"action":"created","issue":{"url":"https://api.github.com/repos/machinezone/tcpkali/issues/30","repository_url":"https://api.github.com/repos/machinezone/tcpkali","labels_url":"https://api.github.com/repos/machinezone/tcpkali/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/machinezone/tcpkali/issues/30/comments","events_url":"https://api.github.com/repos/machinezone/tcpkali/issues/30/events","html_url":"https://github.com/machinezone/tcpkali/issues/30","id":177035858,"number":30,"title":"Send query parameters on connection","user":{"login":"arichiardi","id":1724788,"avatar_url":"https://avatars.githubusercontent.com/u/1724788?v=3","gravatar_id":"","url":"https://api.github.com/users/arichiardi","html_url":"https://github.com/arichiardi","followers_url":"https://api.github.com/users/arichiardi/followers","following_url":"https://api.github.com/users/arichiardi/following{/other_user}","gists_url":"https://api.github.com/users/arichiardi/gists{/gist_id}","starred_url":"https://api.github.com/users/arichiardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arichiardi/subscriptions","organizations_url":"https://api.github.com/users/arichiardi/orgs","repos_url":"https://api.github.com/users/arichiardi/repos","events_url":"https://api.github.com/users/arichiardi/events{/privacy}","received_events_url":"https://api.github.com/users/arichiardi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-14T22:12:50Z","updated_at":"2016-09-15T21:46:36Z","closed_at":"2016-09-15T21:46:36Z","body":"Dear maintainer,\r\n\r\nin order to benchmark the behavior of my server-side websocket implementation, I need to have some payload sent as query query parameter (`?client-id`), see Wireshark dump below:\r\n\r\n```\r\nGET /chsk?client-id=bd5ee0f2-dc22-47b5-98ab-618711f34b45 HTTP/1.1\r\nHost: localhost:3000\r\nConnection: Upgrade\r\nPragma: no-cache\r\nCache-Control: no-cache\r\nUpgrade: websocket\r\nOrigin: http://localhost:3000\r\nSec-WebSocket-Version: 13\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2824.0 Safari/537.36\r\nAccept-Encoding: gzip, deflate, sdch, br\r\nAccept-Language: en-US,en;q=0.8,fr-FR;q=0.6,fr;q=0.4\r\nCookie: ...\r\nSec-WebSocket-Key: Nl49IiqBKuyC/x5FVHrqwA==\r\nSec-WebSocket-Extensions: permessage-deflate; client_max_window_bits\r\n```\r\n\r\nAt the moment `tcpkali` sends a message, but I have not found a way to send it as query the moment the handshake is established. I would be willing to contribute the feature but my C is a bit rusty (I haven't been doing it for 10 years or so). I would for sure need some guidance.\r\n\r\nFirst things first, would you be open to such a feature?\r\n\r\nThanks for your work by the way!\r\nAndrea."},"comment":{"url":"https://api.github.com/repos/machinezone/tcpkali/issues/comments/247464863","html_url":"https://github.com/machinezone/tcpkali/issues/30#issuecomment-247464863","issue_url":"https://api.github.com/repos/machinezone/tcpkali/issues/30","id":247464863,"user":{"login":"vlm","id":145781,"avatar_url":"https://avatars.githubusercontent.com/u/145781?v=3","gravatar_id":"","url":"https://api.github.com/users/vlm","html_url":"https://github.com/vlm","followers_url":"https://api.github.com/users/vlm/followers","following_url":"https://api.github.com/users/vlm/following{/other_user}","gists_url":"https://api.github.com/users/vlm/gists{/gist_id}","starred_url":"https://api.github.com/users/vlm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlm/subscriptions","organizations_url":"https://api.github.com/users/vlm/orgs","repos_url":"https://api.github.com/users/vlm/repos","events_url":"https://api.github.com/users/vlm/events{/privacy}","received_events_url":"https://api.github.com/users/vlm/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T21:46:36Z","updated_at":"2016-09-15T21:46:36Z","body":"Yup :)"}}
{"actor":{"display_login":"vlm"}}