2020-04-02 22:00+0900
첫 글이자 테스트 포스트
그래서 이게 뭐냐?
음 좀 살펴보고… hello();
H3 ~
H4 😄
H5 🐒
Proxy.prototype.close = function () {
var self = this;
this.httpServer.close();
delete this.httpServer;
if (this.httpsServer) {
this.httpsServer.close();
delete this.httpsServer;
delete this.wssServer;
delete this.sslServers;
}
if (this.sslServers) {
(Object.keys(this.sslServers)).forEach(function (srvName) {
var server = self.sslServers[srvName].server;
if (server) server.close();
delete self.sslServers[srvName];
});
}
return this;
};
첫 글은 이따구로 생겨야 제맛이지..
while (d < end) {
while (d < end && (*d == ' ' || *d == '\n' || *d == '\r'))
++d;
const char *start = d;
while (d < end && *d != '=')
++d;
QByteArray key = QByteArray(start, d - start);
++d;
if (d >= end)
break;
bool quote = (*d == '"');
if (quote)
++d;
if (d >= end)
break;
start = d;
QByteArray value;
while (d < end) {
bool backslash = false;
if (*d == '\\' && d < end - 1) {
++d;
backslash = true;
}
if (!backslash) {
if (quote) {
if (*d == '"')
break;
} else {
if (*d == ',')
break;
}
}
value += *d;
++d;
}
while (d < end && *d != ',')
++d;
++d;
options[key] = value;
}
comments powered by Disqus