Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- │154 evUri = evhttp_request_get_evhttp_uri(req); │
- │155 query = evhttp_uri_get_query(evUri); │
- │156 │
- >│157 if( evhttp_parse_query_str(query, headers) == 0) │
- │158 { │
- │159 processQuery(req, headers); │
- │160 } │
- │161 │
- │162 │
- │163 struct evhttp_uri *decoded = 0; │
- │164 │
- │165 uri = evhttp_request_get_uri(req); │
- │166 std::cout<<"\nRequested uri"<<uri<<std::endl; │
- │167 │
- │168 decoded = evhttp_uri_parse(uri); │
- │169 │
- │170 //test to get songs with space working │
- │171 │
- The program is not being run.
- (gdb) c processRequest Line: 157 PC: 0x804b318
- (gdb) n
- Processing request
- (gdb) n
- (gdb) n
- (gdb) n
- (gdb) print query
- $2 = 0x8053650 "query=value"
- (gdb) s
- Program received signal SIGSEGV, Segmentation fault.
- 0x0017da0b in ?? () from /usr/lib/libevent-2.0.so.5
- (gdb) up
- #1 0x0804b318 in processRequest (req=0x80539f0, arg=0x0) at Server.cpp:157
- (gdb)
Advertisement
Add Comment
Please, Sign In to add comment