emqx / mochiweb Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mochi/mochiweb
MochiWeb is an Erlang library for building lightweight HTTP servers.
License: Other
This project forked from mochi/mochiweb
MochiWeb is an Erlang library for building lightweight HTTP servers.
License: Other
Need an option to disable Response header (server) in mochiweb using emqtt
sysdescr : Erlang MQTT Broker
version : 2.3.11
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)! < HTTP/2 400 < date: Mon, 27 Apr 2020 07:37:02 GMT < content-length: 11 < server: MochiWeb/1.0 (Any of you quaids got a smint?)
Need to disable server response header.
Is there any way to disable it from emqtt side
Hi, I got this info in the log:
11:46:09.680 <0.994.0> [info] Client([email protected]:37152):Shutdown for {{case_clause,{error,einval}},[{mochiweb_request,get,2,[{file,"src/mochiweb_request.erl"},{line,96}]},{emqttd_ws_client,handle_info,2,[{file,"src/emqttd_ws_client.erl"},{line,220}]},{gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,615}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,681}]},{proc_lib,wake_up,3,[{file,"proc_lib.erl"},{line,250}]}]}
here , the function got a result {error, einval}, however in the src/mochiweb_request.erl in line 96 https://github.com/emqtt/mochiweb/blob/master/src/mochiweb_request.erl#L96-L114 , there is just a {error, enotconn}, so it can not math it.
should it be fixed?
thanks.
for the project is forked from mochi/mochiweb and design is changed, tests cannot pass.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.