-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Description
When I was on a stable build (0.9.6-dev_20150704), the code like this worked correctly:
connection:on ("receive",
function (conn, req)
conn:send("HTTP/1.0 200 OK\n")
conn:send("Server: ESP (nodeMCU)\n")
conn:send("Content-Length: 1\n\n")
conn:send("a")
conn:close()
end )
This worked for a client socker as well as a server socket.
Now I moved to dev build that says:
NodeMCU custom build by frightanic.com
branch: dev
commit: d8c6fe0b25142f6ae866c18c3bcb3d0538d4baaf
SSL: false
modules: node,file,gpio,wifi,net,pwm,tmr,uart,ow
build built on: 2015-11-03 20:47
And only first conn:send actually sends, all following calls get silently discarded. I now need to store the lines into a table and join table into a string which is probably a waste of memory.
Is it a bug or is it intended?
Metadata
Metadata
Assignees
Labels
No labels