Commit Graph

9 Commits

Author SHA1 Message Date
Matteo Cypriani 7432716a3c [UDP-HTTP] Fix memory leak in free_result_list() 2011-08-26 10:25:40 +02:00
Matteo Cypriani 3a38d2bc1e [UDP-HTTP] Improve free_results_list() 2011-08-23 19:58:49 +02:00
Matteo Cypriani 46e295dc09 [UDP-HTTP] Init. TCP socket in a separate function
Initialise the TCP socket in the new function. This is to avoid exit()
in the thread (memory leak).
2011-08-23 19:58:49 +02:00
Matteo Cypriani a7bfa7eb07 [UDP-HTTP] Display a message if called with args
This is mainly to avoid a "unused variable" message when compiling.
2011-08-23 19:58:49 +02:00
Matteo Cypriani 632858155a [UDP-HTTP] Cancel the TCP thread
Cancel the TCP thread before to join it, because of the blocking recv()
call.
2011-08-23 19:58:49 +02:00
Matteo Cypriani adc05b98c0 [UDP-HTTP] Handle new request "ReadResults" 2011-08-23 19:58:49 +02:00
Matteo Cypriani c2aaa3af15 [UDP-HTTP] Big refactoring
Create owlps-udp-to-http.h, rename variables, refactor functions, etc.
2011-08-23 19:58:49 +02:00
Matteo Cypriani ee02f26d8a [UDP-HTTP] Change and fix SimpleResults format
Use owl_result_to_csv_simple() from libowlps-result.
2011-08-23 19:58:49 +02:00
Matteo Cypriani e77ad8fb0f Add owlps-udp-to-http
This new module allows to get the results sent by the positioning
server with HTTP queries.
See the heading comment in owlps-udp-to-http.c.
2011-08-23 19:58:49 +02:00