Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-649

XNIO should only configure the SSLContext and Engine if configuration options are provided.

XMLWordPrintable

      As an example the code contains this: -

              final boolean clientMode = useClientMode != 0;
              engine.setUseClientMode(clientMode);
      

      This int will always be set regardless of if this configuration option is actually provided.

      Other settings need checking but same for: -

      engine.setEnableSessionCreation(enableSessionCreation != 0);
      

              flaviarnn Flavia Rainone
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: