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)
Thu, Nov 14, 9:35 PM
Unknown Object (File)
Fri, Nov 8, 8:39 PM
Unknown Object (File)
Sun, Nov 3, 6:43 AM
Unknown Object (File)
Oct 24 2024, 6:06 PM
Unknown Object (File)
Oct 19 2024, 12:41 PM
Unknown Object (File)
Oct 15 2024, 8:03 PM
Unknown Object (File)
Oct 15 2024, 8:03 PM
Unknown Object (File)
Oct 15 2024, 8:03 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 !