gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Branchw53-pulls-speed-pr80307ae2|||PR pulls page cache: live PR numbers, complete scans onlymrew53-pulls-speed-pr/plugins/http1/tests/ws-client-close.hl

529 B

  1. // Reconnect from the close callback; the driver checks exactly two deliveries.
  2. import { WebSocketClient } from 'hl:http1'
  3. import { args, exit } from 'hl:proc'
  4. import { after } from 'hl:time'
  5. a = args()
  6. client = new WebSocketClient(url = a[0], caFile = a[1])
  7. closes = 0
  8. on client.open() { echo('opened') }
  9. on client.close(Number code) {
  10. echo('closed ' + code)
  11. closes = closes + 1
  12. if (closes == 1) { echo('retry ' + client.connect()) }
  13. else {
  14. timer = after(0.2)
  15. on timer.tick() { exit(0) }
  16. }
  17. }

Branches

Latest commits

  • 80307ae2|||PR pulls page cache: live PR numbers, complete scans onlymre
  • 69141f65|||PR pulls page: cache the git part per repo by branch tipsmre
  • 155861f6Merge branch 'w52-person-approval' into mainGitoria
  • b5435de8|||PR person approvals: second Kunibert round (#52)mre
  • 3a8b2fb8|||PR person approvals: Kunibert review fixes (#52)mre
  • 2a89d8d0|||PR person approvals: Approve button for people; merge needs the required checks or a listed person's approval (#52)mre
  • 83f0c953Report person approval verificationmre
  • 3ae94b86Record browser failures and verify owned tab cleanupmre
  • 54eec687Gate person approvals and merge alternativesmre
  • 12b08829Add person approvals for pull request headsmre
  • 55c84779Merge branch 'gp-gate-ports' into mainGitoria
  • 57af42bbREADME: point to deploy.sh for the port listmre
  • d63375d2README: gate commands with explicit portsmre
  • feeaa701|||PR gates: explicit ports only, deploy.sh passes themmre
  • 6cc1f943Merge branch 'records-1112' into mainGitoria
  • 9448c438|||PR records: LOG, missions and reports since 11-09mre
  • 6dc08a8eMerge branch 'p51-public-pr-reads' into mainGitoria
  • 7b88cfe0Type publicReaderOfRequest parameters (L10)Gitoria
  • 2a4b3dc1|||PR Anonymous reads of public repos' pulls and statusesmre
  • 21b2c141Merge branch 's25-no-session-on-login-error' into mainGitoria