File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ import (
1616 "time"
1717
1818 log "github.com/Sirupsen/logrus"
19+ "github.com/arduino/arduino-builder/src/github.com/itsjamie/gin-cors"
1920 "github.com/carlescere/scheduler"
2021 "github.com/gin-gonic/gin"
21- "github.com/itsjamie/gin-cors"
2222 "github.com/kardianos/osext"
2323 "github.com/vharitonsky/iniflags"
2424 //"github.com/sanbornm/go-selfupdate/selfupdate" #included in update.go to change heavily
@@ -236,6 +236,10 @@ func main() {
236236 if err != nil {
237237 panic (err )
238238 }
239+ // All the ports p in the range 8990 <= p <= portPlain
240+ // has already been scanned and results not free.
241+ // Thus we can restrict the search range for portSSL
242+ // to [portPlain+1, 9001).
239243 portSSL , err := getBindPort (portPlain + 1 , 9001 )
240244 if err != nil {
241245 panic (err )
You can’t perform that action at this time.
0 commit comments