cf 0.3.1 release, continually updated and optimized Lua Web Application Framework

core_framework lua is a lightweight Web development framework based libev. cf using lua scripting language for server-side business logic developed in its interior to achieve a variety of network protocols and third-party libraries to help users quickly develop a prototype project.

cf the underlying network, self-timer package Libev network library written in C language, greatly reduce the cost of repetition to learn C language users.

cf the httpd built websocket support, user-friendly at the same time multiplexing port can also enjoy a long connection prepared.

Internal frame C code lua package cf realize source only a few thousand lines, it contains a series of Chinese annotation and facilitate reading in the source code review.

optimization

  • Optimized code compilation flow, increase rpathsearch path at runtime.

  • Optimized makefile, more intuitive compilation process.

  • Optimized asynchronous log print frequency.

  • Optimization HTTP.lua protocol file.

  • Optimization maillibrary sending process, separation protocol file and application library files.

  • Optimization websocketclosed and sending process, reduce the memory footprint.

fix

  • Fix httpc.multi_requestthe problem returns false.

  • Repair conf.dnon-existent problem.

  • Repair static files PATH judgment.

  • Repair crypthidden errors library.

  • Repair loggingms library display problems.

add and upadte

  • Increase adiminthe library's get_filesmethod to determine whether there upload files.

  • Increase the build.shfile to show how fast compiler dependent libraries.

  • Most of the increase cryptlibrary hexparameter used to convert 16-bit readable, printable characters, to increase the test_crypt.luasample file.

  • Increase the csvlibrary to read parsing csv file, use the method to view test_csv.lua.

  • Update the dockerfilefile.

  • Increased httpdstartup log printing tips.

 

Guess you like

Origin www.oschina.net/news/107867/core-framework-0-3-1-released