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
F15592775: D13745.diff
Sat, May 10, 6:33 AM
F15589805: D13745.id33204.diff
Fri, May 9, 3:17 PM
F15541398: D13745.id33204.diff
Fri, Apr 25, 11:41 AM
F15529026: D13745.id33204.diff
Tue, Apr 22, 4:09 PM
F15522965: D13745.diff
Sun, Apr 20, 10:44 PM
F15519578: D13745.id33204.diff
Sat, Apr 19, 11:38 PM
F15519577: D13745.id.diff
Sat, Apr 19, 11:38 PM
F15519576: D13745.diff
Sat, Apr 19, 11:38 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 !