Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SparkServer was updated to be runnable on http and https protocols at… #329

Closed
wants to merge 5 commits into from

Conversation

gimlet2
Copy link

@gimlet2 gimlet2 commented Aug 17, 2015

… same time. Api call was added to SparkBase to support that. Ability to specify special ssl port and justSsl flag were added.

… same time. Api call was added to SparkBase to support that. Ability to specify special ssl port and justSsl flag were added.
@georgeyanev
Copy link

When is supposed this to be merged? I need this.

protected static final String DEFAULT_ACCEPT_TYPE = "*/*";

protected static boolean initialized = false;

protected static int port = SPARK_DEFAULT_PORT;
protected static int sslPort = SPARK_DEFAULT_PORT;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should't sslPort have the value of SPARK_DEFAULT_PORT_SSL?

@elanhami
Copy link

+1

@tipsy tipsy added the WL:Minor label Nov 23, 2015
Conflicts:
	src/main/java/spark/SparkBase.java
	src/main/java/spark/webserver/SparkServer.java
@gimlet2
Copy link
Author

gimlet2 commented Apr 2, 2016

Pull request was synced with latest code base.

@georgeyanev
Copy link

Where exactly is it synchronized? In the master code base I can not find the string 'SPARK_DEFAULT_PORT_SSL' neither the 'sslPort' variable?
And what about the wrong initialization of sslPort here: 1e2cfa1

@gimlet2
Copy link
Author

gimlet2 commented Apr 4, 2016

It was better to say that it is redone. @georgeyanev Please see commit e1b6144

@gimlet2 gimlet2 mentioned this pull request Apr 4, 2016
@Thileepan
Copy link

@gimlet2 Is this feature is available in 2.5.3 release? I need this feature ASAP. thanks

@perwendel
Copy link
Owner

Is this issue still relevant now when there's an instance API?

Service http = ignite()
Service https = ignite()

http.port(1234)
https.port(1235)
https.secure(...

@tipsy
Copy link
Contributor

tipsy commented Feb 28, 2017

As per mentioned, I think this should be taken care of by the instance-api, or in a layer in front of Spark.

@tipsy tipsy closed this Feb 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants