Page MenuHomePhabricator

Fixing Aphlict when using a proxified websocket in notification.client-uri
AbandonedPublic

Authored by tycho.tatitscheff on Jul 28 2015, 3:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 23 2024, 11:38 PM
Unknown Object (File)
Jan 30 2024, 7:50 AM
Unknown Object (File)
Jan 30 2024, 7:50 AM
Unknown Object (File)
Jan 30 2024, 7:50 AM
Unknown Object (File)
Jan 2 2024, 7:02 AM
Unknown Object (File)
Jan 2 2024, 6:57 AM
Unknown Object (File)
Jan 2 2024, 6:53 AM
Unknown Object (File)
Dec 21 2023, 10:17 PM

Details

Summary

Fixes T8982

Prevent empty parameters to overwrite default configuration

Test Plan

Start Arcanist with a notification.client-uri without port like htttp://localhost/ws

Diff Detail

Repository
rP Phabricator
Branch
fix-T8982
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7429
Build 7898: [Placeholder Plan] Wait for 30 Seconds
Build 7897: arc lint + arc unit

Event Timeline

tycho.tatitscheff retitled this revision from Fix to Fixing Aphlict when using a proxified websocket in notification.client-uri.Jul 28 2015, 3:42 PM
tycho.tatitscheff edited edge metadata.
tycho.tatitscheff updated this object.
support/aphlict/server/aphlict_server.js
23

Does the args comes in the following format ??

--test-me-please=i-will-do

or rather in the followin format

--'test-me-please'='i-will-do'

If 2) the fix wont works

@epriestley, @joshuaspence : is it possible to reveiw and merge this.

It is very simple it prevent --key=value to override default key if value is empty string.

It is related to T8982 which basically prevent aphlict to start when configured to https://phabricator.domaine.name/ws since in this case the port is null so defauted to 443 if https but after nginx routed it is wss protocol so at the end, an empty port replace the correct default aphlict server port !