File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ import (
16
16
"time"
17
17
18
18
log "github.com/Sirupsen/logrus"
19
+ "github.com/arduino/arduino-builder/src/github.com/itsjamie/gin-cors"
19
20
"github.com/carlescere/scheduler"
20
21
"github.com/gin-gonic/gin"
21
- "github.com/itsjamie/gin-cors"
22
22
"github.com/kardianos/osext"
23
23
"github.com/vharitonsky/iniflags"
24
24
//"github.com/sanbornm/go-selfupdate/selfupdate" #included in update.go to change heavily
@@ -236,6 +236,10 @@ func main() {
236
236
if err != nil {
237
237
panic (err )
238
238
}
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).
239
243
portSSL , err := getBindPort (portPlain + 1 , 9001 )
240
244
if err != nil {
241
245
panic (err )
You can’t perform that action at this time.
0 commit comments