Fitblip / wsstat

Websocket stress testing made beautiful
MIT License
173 stars 24 forks source link

Fix header args with multiple colons. for example an origin header #18

Closed aidanthewiz closed 1 year ago

aidanthewiz commented 4 years ago

If you provide a header, for example, an origin header with the format "Origin:http://127.0.0.1:8080", the script fails because there are multiple colons. adding a parameter to the split function makes it match only the first colon, the header:value separator.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 75.926% when pulling c7eae81e1820e96326fbffe5fd980a0468c2c24c on aidanthewiz:master into f7c91eb8765a801ad5e0504ca22ee2ec832cf682 on Fitblip:master.