Explorar o código

Set TODO mark to rewrite mg_upload (#180)

bel %!s(int64=10) %!d(string=hai) anos
pai
achega
b21b3b6661
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/civetweb.c

+ 1 - 0
src/civetweb.c

@@ -7695,6 +7695,7 @@ static uint32_t get_remote_ip(const struct mg_connection *conn)
 
 int mg_upload(struct mg_connection *conn, const char *destination_dir)
 {
+    /* TODO (high): completely rewrite this function. See issue #180. */
 	/* TODO (mid): set a timeout */
 	const char *content_type_header, *boundary_start, *sc;
 	char *s;