atanisoft / ESP32CommandStation

An ESP32 based DCC Command Station with integrated OpenLCB (LCC) --- NOTE: this project is not under active development.
https://atanisoft.github.io/ESP32CommandStation/
GNU General Public License v3.0
90 stars 34 forks source link

Web: Adding loco without name results in error in console #63

Closed atanisoft closed 3 years ago

atanisoft commented 3 years ago
Incoming connection from 10.0.0.221, fd 54.
[WebSrv] Received locomotive name that is too long, returning error.
[HttpReq 0x3ffee350] method:POST uri:/locomotive/roster,error:0,header-count:11,param-count:4
header: Accept: */*
header: Accept-Encoding: gzip, deflate
header: Accept-Language: en-US,en;q=0.9
header: Connection: keep-alive
header: Content-Length: 62
header: Content-Type: application/x-www-form-urlencoded; charset=UTF-8
header: Host: 10.0.0.105
header: Origin: http://10.0.0.105
header: Referer: http://10.0.0.105/index.html
header: User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36
header: X-Requested-With: XMLHttpRequest
param: address: 2350
param: defaultOnThrottles: true
param: idleOnStartup: false
param: name: