Skip to content

Commit 41ec8a2

Browse files
FrodeFrode
Frode
authored and
Frode
committed
Incorrect method name
1 parent 1bfab89 commit 41ec8a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/network/example/http/hello_world_async_server_with_work_queue.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ void process_request(work_queue& queue) {
130130
};
131131

132132
request->conn->set_status(server::connection::ok);
133-
request->conn->set_header(headers);
133+
request->conn->set_headers(headers);
134134
request->conn->write("Hello, world!");
135135
}
136136

0 commit comments

Comments
 (0)